[PATCH 1/2] block: accumulate segment page gaps per bio

Keith Busch kbusch at kernel.org
Tue Aug 5 15:52:11 PDT 2025


On Tue, Aug 05, 2025 at 12:56:07PM -0700, Keith Busch wrote:
> +	bv = next->bio->bi_io_vec[0];
> +	bvprv = req->biotail->bi_io_vec[req->biotail->bi_vcnt - 1];

Hm, commit 7bcd79ac50d9d8 suggests I missed something obvious about not
being allowed to use 'bi_vcnt - 1' for the tail bvec of the previous
bio. I guess it's some stacking thing.



More information about the Linux-nvme mailing list