From c511dd1a422292bf5000b5279b6f7d2ea3f56ce7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 8 Apr 2010 09:26:54 -0700 Subject: [PATCH] init-ceph: include 'noatime' btrfs mount option by default --- src/init-ceph.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init-ceph.in b/src/init-ceph.in index 7eb2f43ff226b..11bf8f2b7c03f 100644 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -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 -- 2.39.5