Re: [RFC PATCH] blk-mq: change bio_set_ioprio to inline

From: Liu Song
Date: Tue Aug 30 2022 - 20:49:08 EST


On 2022/8/30 20:48, Chaitanya Kulkarni wrote:

On 8/30/22 02:45, Liu Song wrote:
From: Liu Song <liusong@xxxxxxxxxxxxxxxxx>

Change "bio_set_ioprio" to inline to avoid calling overhead.

Signed-off-by: Liu Song <liusong@xxxxxxxxxxxxxxxxx>
for performance overhead please provide quantitative data

-ck

This is a small adjustment, and even if performance comparison data is obtained
for targeted design use cases, it is not universal. If the inline by the compiler is
successful, the number of instructions will be reduced.

Thanks