block: remove QUEUE_FLAG_DEAD
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jun 2022 06:05:49 +0000 (08:05 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 28 Jun 2022 12:30:26 +0000 (06:30 -0600)
commit1f90307e5f0d7bc9a336ead528f616a5df8e5944
treeaff1a363f55f1c390ee8934901a729c8d0d97e3a
parente8b58ef09e84c15cf782b01cfc73cc5b1180d519
block: remove QUEUE_FLAG_DEAD

Disallow setting the blk-mq state on any queue that is already dying as
setting the state even then is a bad idea, and remove the now unused
QUEUE_FLAG_DEAD flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20220619060552.1850436-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq-debugfs.c
include/linux/blkdev.h