Re: regression caused by block: freeze the queue earlier in del_gendisk

Christoph Hellwig
2022-09-07T07:33:56Z

On Thu, Sep 01, 2022 at 03:06:08PM +0800, Ming Lei wrote:
> It is a bit hard to associate the above commit with reported issue.

So the messages clearly are about something trying to open a device
that went away at the block layer, but somehow does not get removed
in time by udev (which seems to be a userspace bug in CoreOS). But
even with that we really should not hang.

Now that fact that it did hang before and this now becomes reproducible
also makes me assume the change is not the root cause. It might still
be a good vehicle to fix the issue for real, but it really broadens
the scope.