diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-29 10:12:38 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-16 06:02:44 +0300 |
commit | 1f14a0989073459c2be6b5c7b3fb7f9f3d7fa2af (patch) | |
tree | daf8fd67682f5150f3f3f9fe02d2ae6e1ead31cb /fs/proc/softirqs.c | |
parent | cc9c884dd7f4f036965e23f5445f838db316eb46 (diff) | |
download | linux-1f14a0989073459c2be6b5c7b3fb7f9f3d7fa2af.tar.xz |
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>
Diffstat (limited to 'fs/proc/softirqs.c')
0 files changed, 0 insertions, 0 deletions