Re: [PATCH 3/5] blk-mq: Drop blk_mq_ops.timeout 'reserved' arg

From: Bart Van Assche
Date: Fri Jun 17 2022 - 12:29:38 EST


On 6/17/22 03:55, John Garry wrote:
With new API blk_mq_is_reserved_rq() we can tell if a request is from
the reserved pool, so stop passing 'reserved' arg. There is actually
only a single user of that arg for all the callback implementations, which
can use blk_mq_is_reserved_rq() instead.

This will also allow us to stop passing the same 'reserved' around the
blk-mq iter functions next.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>