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

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2020-09-21 18:18:49 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2020/09/189308
- Thread: https://ratatoskr.run/linux-block/2020/09/189220/t.md

```text
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.
```
