On Mon, Apr 01, 2019 at 09:50:12AM +0800, Dongli Zhang wrote: > > > On 3/31/19 11:09 AM, Ming Lei wrote: > > Now freeing dispatch resource is moved to queue's release handler, > > we don't need to worry about the race between blk_cleanup_queue and > > run queue any more. > > > > So don't drain in-progress dispatch in blk_cleanup_queue(). > > Unless this direction is not followed, how about we mention that this is revert > of prior two fixes (which are not required any longer) so that people working on > backport would feel much more easier to track the issue. > > c2856ae2f315 ("blk-mq: quiesce queue before freeing queue") > 1311326cf4755c7 ("blk-mq: avoid to synchronize rcu inside blk_cleanup_queue()") OK, will mention that in V2. Thanks, Ming