On 1/11/23 10:23 AM, Keith Busch wrote: > On Wed, Jan 11, 2023 at 08:27:47AM -0700, Keith Busch wrote: >> On Wed, Jan 11, 2023 at 02:38:56PM +0000, Niklas Cassel wrote: >>> It appears that this commit breaks SG_IO ioctl. >> >> Thanks for the catch. I'll send either a fix or revert today. > > The below will fix it. The code was corrupting the ubuf by assuming > iovec type when copying the original iov_iter. I'll fold this in. -- Jens Axboe