[PATCH 3/3] bvec: make the bvec_iter helpers inline functions

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed May 27 09:51:46 PDT 2026


On 5/27/26 08:10, Christoph Hellwig wrote:
> The macros are impossible to follow due to the lack of visual type
> information and all the braces.  Replace them with inline helpers to
> improve on that.  Because the calling conventions are a bit problematic
> with a lot of passing structures by value, all the helpers are marked
> as __always_inline so that they are force inlined.
>
> Signed-off-by: Christoph Hellwig<hch at lst.de>
> Reviewed-by: Bart Van Assche<bvanassche at acm.org>
> Reviewed-by: Caleb Sander Mateos<csander at purestorage.com>


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list