Re: [PATCH v6 4/4] block: enable RWF_DONTCACHE for block devices

From: Tal Zussman

Date: Mon May 25 2026 - 14:06:49 EST


On 5/25/26 1:30 AM, Christoph Hellwig wrote:
> On Fri, May 22, 2026 at 07:17:15PM -0400, Tal Zussman wrote:
>> A: So this actually seems legit... doesn't look like anything actually calls
>> blkdev_write_begin() or blkdev_write_end(), unless I'm missing something.
>> block_write_begin_iocb() usage seems necessary for bh-based filesystems, but
>> block devices seem to use iomap for writes unconditionally.
>
> Yes. Maybe send a separate patch to remove these now unused methods?
> Or I could do that since I forgot to remove them when I should have.
>

I'll send a patch. I'll also drop the block_write_begin_iocb() change from this
series, as it becomes unused.