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.
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"