On Sun, Mar 10, 2019 at 08:58:21PM -0700, jianchao.wang wrote: > Hi Keith > > How about introducing a per hctx queue_rq callback, then install a > separate .queue_rq callback for the dead hctx. Then we just need to > start and complete the request there. That sounds like it could work, though I think just returning BLK_STS_IOERR like we currently do is better than starting a completing it. But adding a new callback that can change at runtime is a more complicated, and would affect a lot more drivers that I am not able to test.