]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66a49640fe815ef3ca71f635db9e54d6a4ee6f00
treeaff1a363f55f1c390ee8934901a729c8d0d97e3a
parent66d2c18990ae0bd39589d7e20fb2b89a25039710
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