On 8/17/23 04:01, Damien Le Moal wrote:
On 8/17/23 04:53, Bart Van Assche wrote:
Make blk_req_needs_zone_write_lock() return false if
q->limits.use_zone_write_lock is false. Inline this function because it
is short and because it is called from the hot path of the mq-deadline
I/O scheduler.
Your are not actually inlining the function. Did you forget to move it to
blkdev.h ?
I considered inlining but eventually decided not to inline
blk_req_needs_zone_write_lock(). I will update the patch description.
Thanks,
Bart.