diff options
author | Andreas Gerstmayr <andreas.gerstmayr@catalysts.cc> | 2017-01-10 08:17:56 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 06:16:05 -0500 |
commit | 7c94ba27903c3c46c5829e96efb7c2a8ab7510e9 (patch) | |
tree | ffbc7ec7dfc898703ef368c71288a20b9e14a7aa /Documentation | |
parent | 0fbc5360bf433ffeccbb94ef806d637049899741 (diff) |
ceph: set io_pages bdi hint
This patch sets the io_pages bdi hint based on the rsize mount option.
Without this patch large buffered reads (request size > max readahead)
are processed sequentially in chunks of the readahead size (i.e. read
requests are sent out up to the readahead size, then the
do_generic_file_read() function waits until the first page is received).
With this patch read requests are sent out at once up to the size
specified in the rsize mount option (default: 64 MB).
Signed-off-by: Andreas Gerstmayr <andreas.gerstmayr@catalysts.cc>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/filesystems/ceph.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/filesystems/ceph.txt b/Documentation/filesystems/ceph.txt index f5306ee40ea9..0b302a11718a 100644 --- a/Documentation/filesystems/ceph.txt +++ b/Documentation/filesystems/ceph.txt | |||
@@ -98,11 +98,10 @@ Mount Options | |||
98 | size. | 98 | size. |
99 | 99 | ||
100 | rsize=X | 100 | rsize=X |
101 | Specify the maximum read size in bytes. By default there is no | 101 | Specify the maximum read size in bytes. Default: 64 MB. |
102 | maximum. | ||
103 | 102 | ||
104 | rasize=X | 103 | rasize=X |
105 | Specify the maximum readahead. | 104 | Specify the maximum readahead. Default: 8 MB. |
106 | 105 | ||
107 | mount_timeout=X | 106 | mount_timeout=X |
108 | Specify the timeout value for mount (in seconds), in the case | 107 | Specify the timeout value for mount (in seconds), in the case |