Re: [PATCH] fs/buffer: try to submit writeback bio in unit of page

2021-01-04 Thread Ming Lei
On Mon, Jan 04, 2021 at 09:44:15AM +0100, Christoph Hellwig wrote: > On Wed, Dec 30, 2020 at 08:08:15AM +0800, Ming Lei wrote: > > It is observed that __block_write_full_page() always submit bio with size > > of block size, > > which is often 512 bytes. > > > > In case of sequential IO, or >=4k B

Re: [PATCH] fs/buffer: try to submit writeback bio in unit of page

2021-01-04 Thread Christoph Hellwig
On Wed, Dec 30, 2020 at 08:08:15AM +0800, Ming Lei wrote: > It is observed that __block_write_full_page() always submit bio with size of > block size, > which is often 512 bytes. > > In case of sequential IO, or >=4k BS random/seq writeback IO, most of times IO > represented by all buffer_head in

[PATCH] fs/buffer: try to submit writeback bio in unit of page

2020-12-29 Thread Ming Lei
It is observed that __block_write_full_page() always submit bio with size of block size, which is often 512 bytes. In case of sequential IO, or >=4k BS random/seq writeback IO, most of times IO represented by all buffer_head in each page can be done in single bio. It is actually done in single r