[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:13:47 PDT 2022


On Fri, Oct 21, 2022 at 08:49:30AM +0200, Hannes Reinecke wrote:
> I'm ever so slightly concerned about not sending the uevent anymore; MD for 
> one relies on that event to figure out if a device is down.

Hmm, where?  I actually just had customer reports about md not noticing
nvme devices going down properly and thus looking into in-kernel
delivery of notifications..

> And I'm also relatively sure that testing with MD on Xen had been 
> relatively few.
> What do we lose by using the 'notify' version instead?

Mostly that we get incorrect resize events to userspace,  but maybe
because nvme is more common that might still be better overall.



More information about the Linux-nvme mailing list