On Mon, Jun 16, 2025 at 9:44 PM Christoph Hellwig <hch@xxxxxx> wrote: > > On Mon, Jun 16, 2025 at 01:52:10PM -0700, Joanne Koong wrote: > > > #define IOEND_BATCH_SIZE 4096 > > > > > > -u32 iomap_finish_ioend_buffered(struct iomap_ioend *ioend); > > > u32 iomap_finish_ioend_direct(struct iomap_ioend *ioend); > > > > > > > Should iomap_finish_ioend_direct() get moved to ioend.c as well? > > It is pretty deeply tied into the direct I/O code, so I don't think > it is easily possible. But I'll take another look. Yeah, you're right. When I was testing this out yesterday it compiled cleanly for me because I had CONFIG_BLOCK=n set.