On Mon, Sep 20, 2021 at 08:38:31PM -0700, Bart Van Assche wrote: > On 9/20/21 04:24, Christoph Hellwig wrote: >> Ming reported that for SCSI we have a lifetime problem now that >> the BDI moved from the request_queue to the disk as del_gendisk >> doesn't finish all outstanding file system I/O. It turns out >> this actually is an older problem, although the case where it could >> be hit before was very unusual (unbinding of a SCSI upper driver >> while the scsi_device stays around). This series fixes this by >> draining all I/O in del_gendisk. > > Several failures are reported when running blktests against Jens' for-next > branch if KASAN and lockdep are enabled. Is this patch series sufficient > to make blktests pass again? I don't see any new failures (I have a few consistent ones due to the fact that blktests is completly fucked up and wants to load modules everywhere which doesn't exactly work with builtin drivers). Care to post your issues?