]> www.infradead.org Git - users/hch/block.git/commit
blk-mq: don't use the requeue list to queue flush commands blk-flush
authorChristoph Hellwig <hch@lst.de>
Sun, 16 Apr 2023 14:15:24 +0000 (16:15 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 18 May 2023 05:58:28 +0000 (07:58 +0200)
commite9515a170d4b27f09f3637f4773580fbb89f591d
tree1e8b17f6c295f8339e22a8fc8fb95aaa7722dccf
parent6b2480314317d780c000e6a890a0aefcf5d631a7
blk-mq: don't use the requeue list to queue flush commands

Currently both requeues of commands that were already sent to the
driver and flush commands submitted from the flush state machine
share the same requeue_list struct request_queue, despite requeues
doing head insertations and flushes not.  Switch to using two
separate lists instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
block/blk-flush.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk-mq.h
include/linux/blk-mq.h
include/linux/blkdev.h