[PATCH v2] block: fix surprise removal for drivers calling blk_set_queue_dying

Jens Axboe axboe at kernel.dk
Thu Feb 17 05:44:41 PST 2022


On Thu, 17 Feb 2022 08:52:31 +0100, Christoph Hellwig wrote:
> Various block drivers call blk_set_queue_dying to mark a disk as dead due
> to surprise removal events, but since commit 8e141f9eb803 that doesn't
> work given that the GD_DEAD flag needs to be set to stop I/O.
> 
> Replace the driver calls to blk_set_queue_dying with a new (and properly
> documented) blk_mark_disk_dead API, and fold blk_set_queue_dying into the
> only remaining caller.
> 
> [...]

Applied, thanks!

[1/1] block: fix surprise removal for drivers calling blk_set_queue_dying
      commit: 73af72f93af41cd280423579c4ef9e8100c5edb4

Best regards,
-- 
Jens Axboe





More information about the Linux-nvme mailing list