Re: [PATCH v4] ceph: set io_pages bdi hint

2017-01-10 Thread Yan, Zheng
> On 10 Jan 2017, at 21:17, Andreas Gerstmayr > wrote: > > 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

Re: [PATCH v4] ceph: set io_pages bdi hint

2017-01-10 Thread Jeff Layton
On Tue, 2017-01-10 at 14:17 +0100, Andreas Gerstmayr wrote: > 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 o

[PATCH v4] ceph: set io_pages bdi hint

2017-01-10 Thread Andreas Gerstmayr
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() functio