Re: [PATCH v3 11/15] iomap: move buffered io bio logic into new file

Christoph Hellwig
2025-09-19T15:33:22Z

On Thu, Sep 18, 2025 at 03:31:31PM -0700, Darrick J. Wong wrote:
> On Tue, Sep 16, 2025 at 04:44:21PM -0700, Joanne Koong wrote:
> > Move bio logic in the buffered io code into its own file and remove
> > CONFIG_BLOCK gating for iomap read/readahead.
> >
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
> > Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
>
> /me wonders how long until we end up doing the same thing with the
> directio code but in the meantime it beats #ifdef everywhere

So far the direct I/O code depends on CONFIG_BLOCK. It feels a bit
more tied to the block code to me, but if someone finds other uses
for it we'll get to it eventually.