From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Date: Sat, 11 Aug 2018 19:39:56 +0200 From: Oleksandr Natalenko To: Ming Lei Cc: Ming Lei , Omar Sandoval , "Martin K. Petersen" , Christoph Hellwig , Paolo Bonzini , Hannes Reinecke , Jens Axboe , Linux SCSI List , linux-block , Linux Kernel Mailing List , Greg Kurz , qemu-discuss@nongnu.org, qemu-devel Subject: Re: Slow boot in QEMU with virtio-scsi disks In-Reply-To: References: Message-ID: <98344e68266e447826f133ad14d0c83d@natalenko.name> List-ID: 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)