From e48bc19af703f4b10d4949a580a6eb6fef42a156 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 27 May 2009 12:06:38 -0700 Subject: [PATCH] initscript: remove notreelog by default This screws us if we put the journal file on the same btrfs volume. Not that it works that well anyway, but it works even worse this way. And since FileStore never calls fsync(), it's fine. --- src/init-ceph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init-ceph b/src/init-ceph index 25fc9194a6881..53948cb122cbd 100755 --- a/src/init-ceph +++ b/src/init-ceph @@ -171,7 +171,7 @@ for name in $what; do echo Starting ceph $name on $host... if [ $dobtrfs -eq 1 ] && [ -n "$btrfs_devs" ]; then get_conf pre_mount "true" "pre mount command" - get_conf btrfs_opt "notreelog,flushoncommit" "btrfs options" + get_conf btrfs_opt "flushoncommit" "btrfs options" [ -n "$btrfs_opt" ] && btrfs_opt="-o $btrfs_opt" [ -n "$pre_mount" ] && do_cmd $pre_mount do_cmd "modprobe btrfs ; btrfsctl -a ; egrep -q '^[^ ]+ $btrfs_path' /proc/mounts || mount -t btrfs $btrfs_opt $first_dev $btrfs_path" -- 2.39.5