ceph: fix description of some mount options
RFC PATCH 1/1 ceph: fix description of some mount options
From: Xiubo Li <[email protected]>
Based on the latest code, the default value for wsize/rsize is 64MB and the default value for the mount_timeout is 60 seconds.
---
Checked the history of the code, I am a little confused about the default values for wsize/rsize, there never been 16MB as the default, and for the mount_timeout, never seen 30 as default.
So did I miss something important about this ?
Documentation/filesystems/ceph.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/ceph.txt +3 -3
@@ -103,17 +103,17 @@ Mount Options address its connection to the monitor originates from. wsize=X - Specify the maximum write size in bytes. Default: 16 MB. + Specify the maximum write size in bytes. Default: 64 MB. rsize=X - Specify the maximum read size in bytes. Default: 16 MB. + Specify the maximum read size in bytes. Default: 64 MB. rasize=X Specify the maximum readahead size in bytes. Default: 8 MB. mount_timeout=X Specify the timeout value for mount (in seconds), in the case - of a non-responsive Ceph file system. The default is 30 + of a non-responsive Ceph file system. The default is 60 seconds. caps_max=X
Signature · 1 line
2.21.0
Quoted 5 lines · On Tue, 2020-02-11 at 10:31 -0500, [email protected] wrote:
From: Xiubo Li <[email protected]>
Based on the latest code, the default value for wsize/rsize is 64MB and the default value for the
mount_timeoutis 60 seconds.
Quoted 9 lines
Signed-off-by Xiubo Li <[email protected]>---
Checked the history of the code, I am a little confused about the default values for wsize/rsize, there never been 16MB as the default, and for the
mount_timeout, never seen 30 as default.So did I miss something important about this ?
It looks like the default rsize/wsize were 16M prior to 94e6992bb560b. It then went to 32 and then 64 a little while afterward. I don't see where the mount_timeout was ever 30s though.
Merged into testing branch since this seems obviously correct.
Quoted 29 lines
Documentation/filesystems/ceph.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/filesystems/ceph.txt +3
-3@@ -103,17 +103,17 @@ Mount Options address its connection to the monitor originates from. wsize=X - Specify the maximum write size in bytes. Default: 16 MB. + Specify the maximum write size in bytes. Default: 64 MB. rsize=X - Specify the maximum read size in bytes. Default: 16 MB. + Specify the maximum read size in bytes. Default: 64 MB. rasize=X Specify the maximum readahead size in bytes. Default: 8 MB. mount_timeout=X Specify the timeout value for mount (in seconds), in the case - of a non-responsive Ceph file system. The default is 30 + of a non-responsive Ceph file system. The default is 60 seconds. caps_max=X
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 9 lines · Jeff Layton
Quoted 8 lines · On Tue, 2020-02-11 at 10:31 -0500, [email protected] wrote:
From: Xiubo Li <[email protected]>
Based on the latest code, the default value for wsize/rsize is 64MB and the default value for the
mount_timeoutis 60 seconds.Signed-off-by Xiubo Li <[email protected]>---
Quoted 8 lines
Quoted 6 lines
Checked the history of the code, I am a little confused about the default values for wsize/rsize, there never been 16MB as the default, and for the
mount_timeout, never seen 30 as default.So did I miss something important about this ?
It looks like the default rsize/wsize were 16M prior to
94e6992bb560b. It then went to 32 and then 64 a little while afterward.
Yeah, it is.
Thanks,
BRs
Quoted 33 lines
I don't see
where themount_timeoutwas ever 30s though.Merged into testing branch since this seems obviously correct.
Quoted 28 lines
Documentation/filesystems/ceph.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/filesystems/ceph.txt +3
-3@@ -103,17 +103,17 @@ Mount Options address its connection to the monitor originates from. wsize=X - Specify the maximum write size in bytes. Default: 16 MB. + Specify the maximum write size in bytes. Default: 64 MB. rsize=X - Specify the maximum read size in bytes. Default: 16 MB. + Specify the maximum read size in bytes. Default: 64 MB. rasize=X Specify the maximum readahead size in bytes. Default: 8 MB. mount_timeout=X Specify the timeout value for mount (in seconds), in the case - of a non-responsive Ceph file system. The default is 30 + of a non-responsive Ceph file system. The default is 60 seconds. caps_max=X