[PATCH 1/8] block: set the disk capacity to 0 in blk_mark_disk_dead

Christoph Hellwig hch at lst.de
Fri Oct 21 06:11:48 PDT 2022


On Fri, Oct 21, 2022 at 09:09:07AM +0800, Ming Lei wrote:
> Just one small issue on mtip32xx, which may call blk_mark_disk_dead() in
> irq context, and ->bd_size_lock is actually not irq safe.
> 
> But mtip32xx is already broken since blk_queue_start_drain() need mutex,
> maybe mtip32xx isn't actively used at all.

A while ago active users were still reported.  But I bet no one
regularly tests hot removals with these cards.




More information about the Linux-nvme mailing list