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

Ming Lei tom.leiming at gmail.com
Wed May 27 20:41:11 PDT 2026


On Wed, May 27, 2026 at 05:10:22PM +0200, 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>

Reviewed-by: Ming Lei <tom.leiming at gmail.com>

Thanks,
Ming



More information about the Linux-nvme mailing list