On 10/5/26 10:11, Christoph Hellwig wrote:
On Mon, Sep 28, 2026 at 02:32:21PM +0100, Pavel Begunkov wrote:
Add a simple proxy implementation of init_dma_buf_io_ctx() forwarding
the call to a new struct block_device_operations operation. Also reject
dma-buf backed iterators for buffered IO.
Reviewed-by: Christoph Hellwig <[email protected]>
[pavel: reject dma-buf without O_DIRECT]
Signed-off-by: Pavel Begunkov <[email protected]>
The Sashiko report about the errno on fallback here looks real,
and is probably easily fixed by setting a proper errno.
I'm going to move the check into blkdev_buffered_write(),
this should cover both paths. direct_write_fallback() will
see -EOPNOTSUPP and fail appropriately.
--
Pavel Begunkov