On Wed, Oct 16, 2024 at 07:09:48PM +0800, Ming Lei wrote: > Setting QUEUE_FLAG_DYING may fail passthrough request for > !GD_OWNS_QUEUE, I guess this may cause SCSI regression. Yes, as clearly documented in the commit log. > > blk_queue_enter() need to wait until RESURRECT & DYING are cleared > instead of returning failure. What we really need to is to split the enter conditions between disk and standalone queue. But until then I think the current version is reasonable enough.