diff options
author | Sage Weil <sage@newdream.net> | 2011-08-04 11:03:44 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-10-25 19:10:15 -0400 |
commit | 83817e35cbd9b36db955a22418c9e30324353587 (patch) | |
tree | bd2e52d560e74061310e27ef4028a4f2c75c9801 /fs/ceph/super.h | |
parent | 7c272194e66e91830b90f6202e61c69f8590f1eb (diff) |
ceph: rename rsize -> rasize
It controls readahead.
Signed-off-by: Sage Weil <sage@newdream.net>
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; |