On Wed, Apr 03, 2019 at 02:22:54PM -0700, Bart Van Assche wrote: > On Thu, 2019-04-04 at 00:27 +0800, Ming Lei wrote: > > blk_mq_flush_plug_list(): > > blk_mq_sched_insert_requests() > > insert requests to sw queue or scheduler queue > > blk_mq_run_hw_queue > > > > Because of concurrent run queue, all requests inserted above may be completed > > before calling the above blk_mq_run_hw_queue. Then queue can be freed > > during the above blk_mq_run_hw_queue(). > > Thanks for the clarification. That makes sense to me. I guess it is helpful for review to add the above description in comment log, will do that in V4. Thanks, Ming