]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
init-ceph: include 'noatime' btrfs mount option by default
authorSage Weil <sage@newdream.net>
Thu, 8 Apr 2010 16:26:54 +0000 (09:26 -0700)
committerSage Weil <sage@newdream.net>
Thu, 8 Apr 2010 23:42:11 +0000 (16:42 -0700)
src/init-ceph.in

index 7eb2f43ff226be0049c62caee69c40a7583f44df..11bf8f2b7c03f18e7a94cc2aedbd28f479432252 100644 (file)
@@ -230,7 +230,7 @@ for name in $what; do
            
            if [ $dobtrfs -eq 1 ] && [ -n "$btrfs_devs" ]; then
                get_conf pre_mount "true" "pre mount command"
-               get_conf btrfs_opt "flushoncommit" "btrfs options"
+               get_conf btrfs_opt "flushoncommit,noatime" "btrfs options"
                [ -n "$btrfs_opt" ] && btrfs_opt="-o $btrfs_opt"
                [ -n "$pre_mount" ] && do_cmd "$pre_mount"
                echo Mounting Btrfs on $host:$btrfs_path