On 6/25/18 5:31 AM, Ming Lei wrote: > Hi, > > The 1st two patches cleanes up blk_mq_get_driver_tag() and > blk_mq_mark_tag_wait(). > > The 3rd patch fixes one race between adding hctx->dispatch_wait to > wq and removing it from wq. > > The 4th patch avoids to iterate on all queues which share same tags > after completing one request, so that we can kill the synchronize_rcu() > in patch of queue cleanup, then long delay can be avoided during SCSI LUN > probe. Meantime IO performance can be improved. > > The 5th patch avoids to synchronizing rcu in blk_cleanup_queue() when > queue isn't initialized, so long delay can be avoided during SCSI LUN > probe too. Looks good to me, applied for 4.19. -- Jens Axboe