diff options
author | 2016-01-25 10:44:33 +0800 | |
---|---|---|
committer | 2016-03-25 18:51:41 +0100 | |
commit | 133e91566ced3e7154db9b68bb3ceb3b30f6900f (patch) | |
tree | 3464891773d1e448f2f1d732d965c42ca4c0e5e7 /fs/ceph/super.h | |
parent | ceph: encode ctime in cap message (diff) | |
download | linux-133e91566ced3e7154db9b68bb3ceb3b30f6900f.tar.gz linux-133e91566ced3e7154db9b68bb3ceb3b30f6900f.tar.bz2 linux-133e91566ced3e7154db9b68bb3ceb3b30f6900f.zip |
ceph: don't enable rbytes mount option by default
When rbytes mount option is enabled, directory size is recursive
size. Recursive size is not updated instantly. This can cause
directory size to change between successive stat(1)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r-- | fs/ceph/super.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 9c458eb52245..d4425b172bb6 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -37,8 +37,7 @@ #define CEPH_MOUNT_OPT_FSCACHE (1<<10) /* use fscache */ #define CEPH_MOUNT_OPT_NOPOOLPERM (1<<11) /* no pool permission check */ -#define CEPH_MOUNT_OPT_DEFAULT (CEPH_MOUNT_OPT_RBYTES | \ - CEPH_MOUNT_OPT_DCACHE) +#define CEPH_MOUNT_OPT_DEFAULT CEPH_MOUNT_OPT_DCACHE #define ceph_set_mount_opt(fsc, opt) \ (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; |