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

From: Jens Axboe
Date: Tue Aug 30 2022 - 10:00:37 EST


On 8/30/22 3:45 AM, Liu Song wrote:
> From: Liu Song <liusong@xxxxxxxxxxxxxxxxx>
>
> Change "bio_set_ioprio" to inline to avoid calling overhead.

Let's not try to 2nd guess the compiler here. Most things that are
marked inline should not be.

--
Jens Axboe