On Wed, Jul 24, 2019 at 12:14:24AM +0800, Dongli Zhang wrote: > Hi Ming, > > On 07/22/2019 01:39 PM, Ming Lei wrote: > > When aborting in-flight request for recoverying controller, we have > > recovering > > > maken sure that queue's complete function is called on completed > > request before moving one. For example, the warning of > > WARN_ON_ONCE(qp->mrs_used > 0) in ib_destroy_qp_user() may be triggered. > > > > Fix this issue by using blk_mq_tagset_drain_completed_request. > > > > Should be blk_mq_tagset_wait_completed_request but not > blk_mq_tagset_drain_completed_request? Will fix the two in V2. Thanks, Ming