diff options
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r-- | fs/ceph/super.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index a23eed526f05..5c72430b8f71 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h | |||
@@ -36,7 +36,8 @@ | |||
36 | #define ceph_test_mount_opt(fsc, opt) \ | 36 | #define ceph_test_mount_opt(fsc, opt) \ |
37 | (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) | 37 | (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) |
38 | 38 | ||
39 | #define CEPH_RSIZE_DEFAULT (512*1024) /* readahead */ | 39 | #define CEPH_RSIZE_DEFAULT 0 /* max read size */ |
40 | #define CEPH_RASIZE_DEFAULT (8192*1024) /* readahead */ | ||
40 | #define CEPH_MAX_READDIR_DEFAULT 1024 | 41 | #define CEPH_MAX_READDIR_DEFAULT 1024 |
41 | #define CEPH_MAX_READDIR_BYTES_DEFAULT (512*1024) | 42 | #define CEPH_MAX_READDIR_BYTES_DEFAULT (512*1024) |
42 | #define CEPH_SNAPDIRNAME_DEFAULT ".snap" | 43 | #define CEPH_SNAPDIRNAME_DEFAULT ".snap" |
@@ -45,8 +46,9 @@ struct ceph_mount_options { | |||
45 | int flags; | 46 | int flags; |
46 | int sb_flags; | 47 | int sb_flags; |
47 | 48 | ||
48 | int wsize; | 49 | int wsize; /* max write size */ |
49 | int rsize; /* max readahead */ | 50 | int rsize; /* max read size */ |
51 | int rasize; /* max readahead */ | ||
50 | int congestion_kb; /* max writeback in flight */ | 52 | int congestion_kb; /* max writeback in flight */ |
51 | int caps_wanted_delay_min, caps_wanted_delay_max; | 53 | int caps_wanted_delay_min, caps_wanted_delay_max; |
52 | int cap_release_safety; | 54 | int cap_release_safety; |