Christoph Hellwig 1f14a09890 block: factor out a blk_try_enter_queue helper
Factor out the code to try to get q_usage_counter without blocking into
a separate helper.  Both to improve code readability and to prepare for
splitting bio_queue_enter from blk_queue_enter.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20210929071241.934472-3-hch@lst.de
Tested-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-15 21:02:44 -06:00
..
2021-08-30 18:52:11 -07:00
2021-08-18 07:21:12 -06:00
2021-08-17 20:17:34 -06:00
2021-08-30 18:52:11 -07:00
2021-08-30 18:52:11 -07:00
2021-06-17 15:51:20 +02:00
2021-08-30 19:30:30 -07:00
2020-03-17 20:55:21 +01:00
2021-09-11 10:19:51 -07:00
2021-09-02 15:09:46 -07:00
2021-09-11 10:19:51 -07:00