Re: [PATCH 1/2] block: use iomap_dirty_folio for block devices

Christoph Hellwig <[email protected]> Tue, 4 Aug 2026 16:01:02 +0200
Newsgroups org.kernel.vger.linux-block,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Sun, Aug 02, 2026 at 07:14:26AM -0400, Tal Zussman wrote:
> To reproduce, on a device with a sub-page block size, write a known
> pattern with O_DIRECT, mmap the same range, store to it, msync() and
> fsync(), then read it back with O_DIRECT. A reproducer is available at

Heh, shared mmap writes to block devices..

> [1].
> 
> [1] https://gist.github.com/tzussman/18ab05cba4b3fdc79cce0a69d1fd05b4

Can you submit this to blktests?

Looks good:

Reviewed-by: Christoph Hellwig <[email protected]>