Files
linux/io_uring
Keith Busch d6fef34ee4 io_uring: fix off-by one bvec index
If the offset equals the bv_len of the first registered bvec, then the
request does not include any of that first bvec. Skip it so that drivers
don't have to deal with a zero length bvec, which was observed to break
NVMe's PRP list creation.

Cc: [email protected]
Fixes: bd11b3a391 ("io_uring: don't use iov_iter_advance() for fixed buffers")
Signed-off-by: Keith Busch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
2023-11-20 15:21:38 -07:00
..
…
…
…
…
2022-12-07 06:47:13 -07:00
…
…
…
2023-11-20 15:21:38 -07:00
2023-08-10 10:24:25 -06:00
…
…
…
2023-08-11 10:42:57 -06:00
…