On Tue, Jan 18, 2022 at 09:22:59AM +0100, Christoph Hellwig wrote: > How does this work for SCSI where we can detach the disk from the > request queue, reattach it and then maybe later free them both? Commit 8e141f9eb803 ("block: drain file system I/O on del_gendisk") has marked queue as dying, so how can the above case work given no any code clears the queue's dying flag? Can you share steps for this test case? And it shouldn't hard to extend this patch for supporting it. Thanks, Ming