Re: [PATCH v5 3/9] iov_iter: Use IOCB/IOMAP_WRITE if available rather than iterator direction

From: Martin K. Petersen
Date: Fri Jan 13 2023 - 20:33:57 EST



Christoph,

> Yeah. And that weird (ab)use of blk_rq_map_user_iov into preallocated
> pages in sg has been a constant source of pain. I'd be very happy to
> make it match the generic SG_IO implementation and either do
> get_user_pages or the normal bounce buffering implemented in the
> common code.

Yes, it would be nice to get that cleaned up.

--
Martin K. Petersen Oracle Linux Engineering