[PATCH 1/2] block: accumulate segment page gaps per bio
Christoph Hellwig
hch at lst.de
Wed Aug 6 07:56:21 PDT 2025
> index 0a29b20939d17..d0ed28d40fe02 100644
> --- a/include/linux/blk_types.h
> +++ b/include/linux/blk_types.h
> @@ -264,6 +264,8 @@ struct bio {
>
> unsigned short bi_max_vecs; /* max bvl_vecs we can hold */
>
> + unsigned int page_gaps; /* a mask of all the vector gaps */
Bloating the bio for the gaps, especially as the bio is otherwise not
built to hardware limits at all seems like an odd tradeoff.
More information about the Linux-nvme
mailing list