Re: [PATCH 1/2] block: use iomap_dirty_folio for block devices
From: Christoph Hellwig
Date: Tue Aug 04 2026 - 11:09:54 EST
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 <hch@xxxxxx>