[PATCH 1/2] block: fix surprise removal for drivers calling blk_set_queue_dying
Christoph Hellwig
hch at lst.de
Wed Feb 16 10:10:40 PST 2022
On Wed, Feb 16, 2022 at 07:08:50PM +0100, Markus Blöchl wrote:
> I noticed that set_capacity() is also called most of the time when
> a disk is killed. Should we also move that into blk_mark_disk_dead()?
> Any reasons not to?
I thought about that and I think it is a good idea. But for now I'd
keep the regression fix minimal and then do that as a next step.
More information about the Linux-nvme
mailing list