diff options
author | Christoph Hellwig <hch@lst.de> | 2023-04-13 08:40:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-13 14:52:30 +0200 |
commit | e1f44ac0d7f48ec44a1eacfe637e545c408ede40 (patch) | |
tree | c1b5e5dfd7a29a20db6a67af949303efc184f9bd /block/blk-crypto-internal.h | |
parent | blk-mq: factor out a blk_mq_get_budget_and_tag helper (diff) | |
download | linux-e1f44ac0d7f48ec44a1eacfe637e545c408ede40.tar.xz linux-e1f44ac0d7f48ec44a1eacfe637e545c408ede40.zip |
blk-mq: fold __blk_mq_try_issue_directly into its two callers
Due to the wildly different behavior based on the bypass_insert argument,
not a whole lot of code in __blk_mq_try_issue_directly is actually shared
between blk_mq_try_issue_directly and blk_mq_request_issue_directly.
Remove __blk_mq_try_issue_directly and fold the code into the two callers
instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413064057.707578-14-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-crypto-internal.h')
0 files changed, 0 insertions, 0 deletions