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.