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

Martin K. Petersen
2023-01-14T01:33:57Z

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