Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7c94ba27 authored by Andreas Gerstmayr's avatar Andreas Gerstmayr Committed by Ilya Dryomov
Browse files

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: default avatarAndreas Gerstmayr <andreas.gerstmayr@catalysts.cc>
Acked-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent 0fbc5360
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment