Re: [PATCH] iov_iter: Use iov_offset for length calculation in iov_iter_aligned_bvec
From: Jens Axboe
Date: Fri Apr 25 2025 - 20:04:29 EST
On 4/15/25 12:14 PM, Nitesh Shetty wrote:
> If iov_offset is non-zero, then we need to consider iov_offset in length
> calculation, otherwise we might pass smaller IOs such as 512 bytes
> with 256 bytes offset.
As Andrew points out, would be nicer with a (much) better commit
message. Your current reply has a lot of the stuff that should go in
there, including a Fixes tag. With that done:
Reviewed-by: Jens Axboe <axboe@xxxxxxxxx>
--
Jens Axboe