blk-mq: refactor the DONTPREP/SOFTBARRIER andling in blk_mq_requeue_work
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:40:48 +0000 (08:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Apr 2023 12:52:30 +0000 (06:52 -0600)
commita1e948b81ad21d635b99c1284f945423cb02b4c4
tree76c7ad2ca20d75903448e3e52e7f0b23c862a968
parent53548d2a945eb2c277332c66f57505881392e5a9
blk-mq: refactor the DONTPREP/SOFTBARRIER andling in blk_mq_requeue_work

Split the RQF_DONTPREP and RQF_SOFTBARRIER in separate branches to make
the code more readable.

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-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c