[PATCH V2 13/13] block: don't drain file system I/O on del_gendisk

Christoph Hellwig hch at lst.de
Mon Jan 24 05:39:42 PST 2022


On Sat, Jan 22, 2022 at 07:10:54PM +0800, Ming Lei wrote:
> So not necessary to drain FS I/O in del_gendisk() any more.

But this changes a few other things as well.

For example the early set GD_DEAD flag is very useful to stop I/O
ASAP when entering del_gendisk.  Also some other work here is moved
later as well that really should be part of del_gendisk.



More information about the Linux-nvme mailing list