From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksandr Natalenko Subject: Re: Slow boot in QEMU with virtio-scsi disks Date: Sat, 11 Aug 2018 19:39:56 +0200 Message-ID: <98344e68266e447826f133ad14d0c83d@natalenko.name> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-discuss-bounces+gceqd-qemu-discuss=m.gmane.org-qX2TKyscuCcdnm+yROfE0A@public.gmane.org Sender: "Qemu-discuss" To: Ming Lei Cc: Jens Axboe , Linux SCSI List , "Martin K. Petersen" , qemu-devel , Linux Kernel Mailing List , Omar Sandoval , linux-block , Greg Kurz , Hannes Reinecke , Paolo Bonzini , Ming Lei , qemu-discuss-qX2TKyscuCcdnm+yROfE0A@public.gmane.org, Christoph Hellwig List-Id: linux-scsi@vger.kernel.org Hi. On 11.08.2018 14:23, Ming Lei wrote: > Please test for-4.19/block: > > https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/log/?h=for-4.19/block > > This slow boot issue should have been fixed by the following commits: > > 1311326cf475 blk-mq: avoid to synchronize rcu inside > blk_cleanup_queue() > 97889f9ac24f blk-mq: remove synchronize_rcu() from > blk_mq_del_queue_tag_set() > 5815839b3ca1 blk-mq: introduce new lock for protecting > hctx->dispatch_wait > 2278d69f030f blk-mq: don't pass **hctx to blk_mq_mark_tag_wait() > 8ab6bb9ee8d0 blk-mq: cleanup blk_mq_get_driver_tag() Indeed, I can confirm that these commits fix the issue. Thanks a lot. -- Oleksandr Natalenko (post-factum)