Displaying 6 results from an estimated 6 matches for "fail_close".
2009 Jan 24
2
[PATCH] btrfs: flushoncommit mount option
...isabling tree log\n");
btrfs_set_opt(info->mount_opt, NOTREELOG);
break;
+ case Opt_flushoncommit:
+ printk(KERN_INFO "btrfs: turning on flush-on-commit\n");
+ btrfs_set_opt(info->mount_opt, FLUSHONCOMMIT);
+ break;
default:
break;
}
@@ -369,9 +374,8 @@ fail_close:
int btrfs_sync_fs(struct super_block *sb, int wait)
{
struct btrfs_trans_handle *trans;
- struct btrfs_root *root;
+ struct btrfs_root *root = btrfs_sb(sb);
int ret;
- root = btrfs_sb(sb);
if (sb->s_flags & MS_RDONLY)
return 0;
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/tra...
2015 Feb 10
1
Samba 4.2.0rc4 fails to start up
I am trying to see if Samba 4.2.0rc4 will run on a Solaris 10 i386 system.
After getting it to build, startup fails. Starting it up as
smbd -i -d 10
The output indicates that everything is starting normally until the
following is output:
messaging_dgm_lockfile_create: ftruncate failed: Invalid argument
messaging_dgm_init: messaging_dgm_create_lockfile failed: Invalid argument
messaging_dgm_init
2010 Jun 21
0
[PATCH V3 6/8] Cleancache: btrfs hooks for cleancache
...h>
#include "compat.h"
#include "ctree.h"
#include "disk-io.h"
@@ -477,6 +478,7 @@ static int btrfs_fill_super(struct super
sb->s_root = root_dentry;
save_mount_options(sb, data);
+ sb->cleancache_poolid = cleancache_init_fs(PAGE_SIZE);
return 0;
fail_close:
--- linux-2.6.35-rc2/fs/btrfs/extent_io.c 2010-06-05 21:43:24.000000000 -0600
+++ linux-2.6.35-rc2-cleancache/fs/btrfs/extent_io.c 2010-06-11 10:28:51.000000000 -0600
@@ -10,6 +10,7 @@
#include <linux/swap.h>
#include <linux/writeback.h>
#include <linux/pagevec.h>
+#include &l...
2015 Feb 11
4
Samba 4.2.0rc4 fails to start up
....l_type = F_WRLCK,
.l_whence = SEEK_SET
};
ret = fcntl(lockfile_fd, F_SETLK, &lck);
if (ret == -1) {
ret = errno;
DEBUG(1, ("%s: fcntl failed: %s\n", __func__, strerror(ret)));
goto fail_close;
}
DEBUG(1, ("unique is %u\n", unique));
unique_len = snprintf(buf, sizeof(buf), "%ju\n", (uintmax_t)unique);
DEBUG(1, ("unique_len is: %i\n", unique_len));
/* shorten a potentially preexisting file */
ret = ftruncate(...
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
...namelen, dir->i_ino, &key,
- BTRFS_FT_DIR);
+ BTRFS_FT_DIR, 0);
if (ret)
goto fail;
diff -r 99b12e2db0f8 super.c
--- a/super.c Wed Jun 18 20:50:41 2008 -0400
+++ b/super.c Tue Jun 24 21:04:39 2008 -0400
@@ -339,6 +339,7 @@ static int btrfs_fill_super(struct super
goto fail_close;
}
+
/* this does the super kobj at the same time */
err = btrfs_sysfs_add_super(tree_root->fs_info);
if (err)
@@ -467,6 +468,22 @@ static int btrfs_get_sb(struct file_syst
deactivate_super(s);
error = -ENXIO;
goto error;
+ }
+
+ /* we don''t want to do orphan stuff on...
2013 Jul 15
21
[PATCH 00 of 21 RESEND] blktap3/drivers: Introduce tapdisk server.
This patch series copies the core of the tapdisk process from blktap2, with
updates coming from blktap2.5.
Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>