Displaying 20 results from an estimated 1566 matches for "bail".
2009 May 28
2
Glusterfs 2.0 hangs on high load
...8:46] N [afr.c:2190:notify] replicate: Subvolume 'xeon'
came back up; going online.
[2009-05-27 16:38:46] N [client-protocol.c:5557:client_setvolume_cbk]
weeber: Connected to 192.168.1.252:6996, attached to remote volume 'brick'.
[2009-05-27 18:46:02] E [client-protocol.c:292:call_bail] weeber:
bailing out frame LOOKUP(32) frame sent = 2009-05-27 18:16:01.
frame-timeout = 1800
[2009-05-27 19:16:09] E [client-protocol.c:292:call_bail] weeber:
bailing out frame LOOKUP(32) frame sent = 2009-05-27 18:46:02.
frame-timeout = 1800
[2009-05-27 19:46:18] E [client-protocol.c:292:call_...
2015 Nov 13
4
[PATCH 1/4] extlinux: simplification
...rogram);
return 1;
}
@@ -619,23 +651,11 @@ int ext2_fat_install_file(const char *path, int devfd, struct stat *rst)
unlink(oldfile);
}
- fd = open(c32file, O_WRONLY | O_TRUNC | O_CREAT | O_SYNC,
- S_IRUSR | S_IRGRP | S_IROTH);
- if (fd < 0) {
- perror(c32file);
- goto bail;
- }
-
- r3 = xpwrite(fd, (const char _force *)syslinux_ldlinuxc32,
- syslinux_ldlinuxc32_len, 0);
- if (r3 != syslinux_ldlinuxc32_len) {
- fprintf(stderr, "%s: write failure on %s\n", program, c32file);
+ if (ext_install_ldlinux_c32(path))
goto bail;
- }
free(fi...
2006 Aug 31
2
a patch for ocfs2_link
...;= OCFS2_LINK_MAX" check
and add an unlinked directory check.
Singed-off-by: mfasheh
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c
index 0673862..719a8d2 100644
--- a/fs/ocfs2/namei.c
+++ b/fs/ocfs2/namei.c
@@ -643,11 +643,6 @@ static int ocfs2_link(struct dentry *old
goto bail;
}
- if (inode->i_nlink >= OCFS2_LINK_MAX) {
- err = -EMLINK;
- goto bail;
- }
-
handle = ocfs2_alloc_handle(osb);
if (handle == NULL) {
err = -ENOMEM;
@@ -661,6 +656,11 @@ static int ocfs2_link(struct dentry *ol...
2009 Feb 20
3
[PATCH 1/1] OCFS2: anti stale inode for nfs (V4)
...nt status, set;
struct dentry *result;
mlog_entry("(0x%p, 0x%p)\n", sb, handle);
- if (handle->ih_blkno == 0) {
- mlog_errno(-ESTALE);
- return ERR_PTR(-ESTALE);
+ if (blkno == 0) {
+ mlog(0, "nfs wants inode with blkno: 0\n");
+ result = ERR_PTR(-ESTALE);
+ goto bail;
+ }
+
+ inode = ocfs2_ilookup(sb, blkno);
+ /* found in-memory inode, goes to check generation */
+ if (inode)
+ goto check_gen;
+
+ /* takes nfs_sync_lock in EX mode */
+ status = ocfs2_nfs_sync_lock(osb, 1);
+ if (status < 0) {
+ mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n&qu...
2007 Nov 16
8
[PATCH 0/6] Add online resize for ocfs2-tools,take 1
Add online resize in tunefs.ocfs2 so that user can increase
the volume when it is mounted.
2009 Feb 27
2
[PATCH 1/1] OCFS2: anti stale inode for nfs (V5)
...nt status, set;
struct dentry *result;
mlog_entry("(0x%p, 0x%p)\n", sb, handle);
- if (handle->ih_blkno == 0) {
- mlog_errno(-ESTALE);
- return ERR_PTR(-ESTALE);
+ if (blkno == 0) {
+ mlog(0, "nfs wants inode with blkno: 0\n");
+ result = ERR_PTR(-ESTALE);
+ goto bail;
+ }
+
+ inode = ocfs2_ilookup(sb, blkno);
+ /* found in-memory inode, goes to check generation */
+ if (inode)
+ goto check_gen;
+
+ /* takes nfs_sync_lock in EX mode */
+ status = ocfs2_nfs_sync_lock(osb, 1);
+ if (status < 0) {
+ mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n&qu...
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi,
below comes a new version of the series of patches implementing quota support
for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given
number of bytes instead of number of blocks. Besides that the series should be
the same.
Honza
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...symlink_get_block(struct inode *inode, sector_t iblock,
iblock;
buffer_cache_bh = sb_getblk(osb->sb, blkno);
if (!buffer_cache_bh) {
- mlog(ML_ERROR, "couldn't getblock for symlink!\n");
+ mlog(ML_ERROR, "couldn't get block for symlink!\n");
goto bail;
}
@@ -191,7 +191,9 @@ static int ocfs2_get_block(struct inode *inode, sector_t iblock,
(unsigned long long)iblock,
(unsigned long long)p_blkno,
(unsigned long long)OCFS2_I(inode)->ip_blkno);
- mlog(ML_ERROR, "Size %llu, clusters %u\n", (unsigned long...
2009 Jul 21
1
(no subject)
...symlink_get_block(struct inode *inode, sector_t iblock,
iblock;
buffer_cache_bh = sb_getblk(osb->sb, blkno);
if (!buffer_cache_bh) {
- mlog(ML_ERROR, "couldn't getblock for symlink!\n");
+ mlog(ML_ERROR, "couldn't get block for symlink!\n");
goto bail;
}
@@ -191,7 +191,9 @@ static int ocfs2_get_block(struct inode *inode, sector_t iblock,
(unsigned long long)iblock,
(unsigned long long)p_blkno,
(unsigned long long)OCFS2_I(inode)->ip_blkno);
- mlog(ML_ERROR, "Size %llu, clusters %u\n", (unsigned long...
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
...ing* b;
+ EFI_UDP4* udp;
+ UDP_IO* udp_io;
+
(void)socket;
- udp_reader = efi_create_binding(&Udp4ServiceBindingProtocol, &Udp4Protocol);
- if (!udp_reader)
- return -1;
-
- b = efi_create_binding(&Udp4ServiceBindingProtocol, &Udp4Protocol);
- if (!b)
- goto bail;
-
- udp = (EFI_UDP4 *)udp_reader->this;
-
- memset(&udata, 0, sizeof(udata));
-
- status = core_udp_configure(udp, &udata, L"core_udp_open");
- if (status != EFI_SUCCESS)
- goto bail;
-
- socket->net.efi.binding = b;
-
- /*
- * Save the random local po...
2009 Mar 03
3
[PATCH 1/1] OCFS2: anti stale inode for nfs (V6)
...nt status, set;
struct dentry *result;
mlog_entry("(0x%p, 0x%p)\n", sb, handle);
- if (handle->ih_blkno == 0) {
- mlog_errno(-ESTALE);
- return ERR_PTR(-ESTALE);
+ if (blkno == 0) {
+ mlog(0, "nfs wants inode with blkno: 0\n");
+ result = ERR_PTR(-ESTALE);
+ goto bail;
+ }
+
+ inode = ocfs2_ilookup(sb, blkno);
+ /* found in-memory inode, goes to check generation */
+ if (inode)
+ goto check_gen;
+
+ /* takes nfs_sync_lock in EX mode */
+ status = ocfs2_nfs_sync_lock(osb, 1);
+ if (status < 0) {
+ mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n&qu...
2015 Apr 09
1
Failed to allocate memory for kernel command line, bailing out
...PXE environment for
kickstarting CentOS 7.0. With bios boot all is working well.
I have added syslinux.efi and ldlinux.e64 from syslinux 6.03 to my tftp
server and altered my dhcp server to boot syslinux.efi. I get to my usual
menu fine, the server downloads vmlinuz and initrd.img fine but then bails
out with "Failed to allocate memory for kernel command line, bailing out".
I have tried simplifying my menu down to one option, removing all the
options from my command line, tftp fetch of vmlinuz and initrd, http fetch
of vmlinuz and initrd but nothing makes any difference. Does any...
2013 Jun 10
1
[PATCH v2] ocfs2: fix mutex_unlock and possible memory leak in ocfs2_remove_btree_range
...tions(-)
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
index b8a9d87..17e6bdd 100644
--- a/fs/ocfs2/alloc.c
+++ b/fs/ocfs2/alloc.c
@@ -5655,7 +5655,7 @@ int ocfs2_remove_btree_range(struct inode *inode,
&ref_tree, NULL);
if (ret) {
mlog_errno(ret);
- goto out;
+ goto bail;
}
ret = ocfs2_prepare_refcount_change_for_del(inode,
@@ -5666,7 +5666,7 @@ int ocfs2_remove_btree_range(struct inode *inode,
&extra_blocks);
if (ret < 0) {
mlog_errno(ret);
- goto out;
+ goto bail;
}
}
@@ -5674,7 +5674,7 @@ int ocfs2_remove_btree_range(st...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...symlink_get_block(struct inode *inode, sector_t iblock,
iblock;
buffer_cache_bh = sb_getblk(osb->sb, blkno);
if (!buffer_cache_bh) {
- mlog(ML_ERROR, "couldn't getblock for symlink!\n");
+ mlog(ML_ERROR, "couldn't get block for symlink!\n");
goto bail;
}
@@ -191,7 +191,9 @@ static int ocfs2_get_block(struct inode *inode, sector_t iblock,
(unsigned long long)iblock,
(unsigned long long)p_blkno,
(unsigned long long)OCFS2_I(inode)->ip_blkno);
- mlog(ML_ERROR, "Size %llu, clusters %u\n", (unsigned long...
2015 Nov 18
1
[PATCH 4/4] extlinux: simplification by removing one label
...c1a31..8b97a71 100644
> --- a/extlinux/main.c
> +++ b/extlinux/main.c
> @@ -735,28 +735,22 @@ static int xfs_install_file(const char *path, int
> devfd, struct stat *rst)
> dirfd = open(path, O_RDONLY | O_DIRECTORY);
> if (dirfd < 0) {
> perror(path);
> - goto bail;
> + return 1;
> }
>
> - if (ext_install_ldlinux_sys(devfd, path, rst))
> - goto bail;
> + if (ext_install_ldlinux_sys(devfd, path, rst)) {
> + close(dirfd);
> + return 1;
> + }
>
> close(dirfd);
>
> - dirfd = -1;
> -
> if (ext...
2009 Mar 05
0
[PATCH 1/1] OCFS2: anti stale inode for nfs (V6.2)
...nt status, set;
struct dentry *result;
mlog_entry("(0x%p, 0x%p)\n", sb, handle);
- if (handle->ih_blkno == 0) {
- mlog_errno(-ESTALE);
- return ERR_PTR(-ESTALE);
+ if (blkno == 0) {
+ mlog(0, "nfs wants inode with blkno: 0\n");
+ result = ERR_PTR(-ESTALE);
+ goto bail;
+ }
+
+ inode = ocfs2_ilookup(sb, blkno);
+ /* found in-memory inode, goes to check generation */
+ if (inode)
+ goto check_gen;
+
+ /* takes nfs_sync_lock in EX mode */
+ status = ocfs2_nfs_sync_lock(osb, 1);
+ if (status < 0) {
+ mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n&qu...
2009 Mar 06
0
[PATCH 1/1] OCFS2: anti stale inode for nfs (V6.3)
...nt status, set;
struct dentry *result;
mlog_entry("(0x%p, 0x%p)\n", sb, handle);
- if (handle->ih_blkno == 0) {
- mlog_errno(-ESTALE);
- return ERR_PTR(-ESTALE);
+ if (blkno == 0) {
+ mlog(0, "nfs wants inode with blkno: 0\n");
+ result = ERR_PTR(-ESTALE);
+ goto bail;
+ }
+
+ inode = ocfs2_ilookup(sb, blkno);
+ /* found in-memory inode, goes to check generation */
+ if (inode)
+ goto check_gen;
+
+ /* takes nfs_sync_lock in EX mode */
+ status = ocfs2_nfs_sync_lock(osb, 1);
+ if (status < 0) {
+ mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n&qu...
2009 Mar 06
2
[PATCH 1/1] OCFS2: anti stale inode for nfs (for 1.4git)
...truct dentry *result;
+ int status, set;
mlog_entry("(0x%p, 0x%p)\n", sb, handle);
- if (handle->ih_blkno == 0) {
- mlog_errno(-ESTALE);
- return ERR_PTR(-ESTALE);
+ if (blkno == 0) {
+ mlog(0, "nfs wants inode with blkno: 0\n");
+ result = ERR_PTR(-ESTALE);
+ goto bail;
+ }
+
+ inode = ocfs2_ilookup(sb, blkno);
+ /* found in-memory inode, goes to check generation */
+ if (inode)
+ goto check_gen;
+
+ /* takes nfs_sync_lock in EX mode */
+ status = ocfs2_nfs_sync_lock(osb, 1);
+ if (status < 0) {
+ mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n&qu...
2008 Oct 15
1
[PATCH] ocfs2: Wrap inode block reads in a dedicated function.
...> - mlog(0, "Invalid dinode: i_ino=%lu, i_blkno=%llu, "
> - "signature = %.*s, flags = 0x%x\n",
> - inode->i_ino,
> - (unsigned long long)le64_to_cpu(fe->i_blkno), 7,
> - fe->i_signature, le32_to_cpu(fe->i_flags));
> - goto bail;
> - }
> + /*
> + * These have all been checked by ocfs2_read_inode_block() or set
> + * by ocfs2_mknod_locked(), so a failure is a code bug.
> + */
> + BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); /* This means that read_inode
> + cannot create a superblock
> + inode t...
2017 Jun 27
2
Gluster failure due to "0-management: Lock not released for <volumename>"
I had looked at the logs shared by Victor privately and it seems to be
there is a N/W glitch in the cluster which is causing the glusterd to lose
its connection with other peers and as a side effect to this, lot of rpc
requests are getting bailed out resulting glusterd to end up into a stale
lock and hence you see that some of the commands failed with "another
transaction is in progress or locking failed."
Some examples of the symptom highlighted:
[2017-06-21 23:02:03.826858] E [rpc-clnt.c:200:call_bail] 0-management:
bailing...