Re: [PATCH 03/13] bcache: inherit the optimal I/O size

From
Christoph Hellwig <hch@lst.de>
Date
2020-09-21 18:18:49
Also in
dm-devel, linux-bcache, linux-block, linux-fsdevel, linux-mm, linux-raid, lkml
Reply to
Coly Li, 2020-09-21
On Mon, Sep 21, 2020 at 11:09:48PM +0800, Coly Li wrote:
I feel this is something should be fixed. Indeed I overlooked it until
you point out the issue now.

The optimal request size and read ahead pages hint are necessary, but
current initialization is simple. A better way might be dynamically
setting them depends on the cache mode and some special configuration.

By your inspiration, I want to ACK your original patch although it
doesn't work fine for all condition. Then we may know these two settings
(ra_pages and queue_io_opt) should be improved for more situations. At
lease for most part of the situations they provide proper hints.

How do you think of the above idea ?
Sounds like a plan.  I'd reall like to get this series in to get
some soaking before the end of the merge window, but we should still
have plenty of time for localized bcache updates.
Thread (25 messages) 25 messages, 3 authors, last reply 2020-09-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help