Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1261638
| From | Jens Axboe <axboe@kernel.dk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [patch, v3] blk-mq: avoid excessive boot delays with large lun counts |
| Date | 2015-11-03 16:50 +0100 |
| Message-ID | <qqM0q-4Hz-29@gated-at.bofh.it> (permalink) |
| References | <qqM0p-4Hz-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 11/03/2015 08:40 AM, Jeff Moyer wrote: > Hi, > > Zhangqing Luo reported long boot times on a system with thousands of > LUNs when scsi-mq was enabled. He narrowed the problem down to > blk_mq_add_queue_tag_set, where every queue is frozen in order to set > the BLK_MQ_F_TAG_SHARED flag. Each added device will freeze all queues > added before it in sequence, which involves waiting for an RCU grace > period for each one. We don't need to do this. After the second queue > is added, only new queues need to be initialized with the shared tag. > We can do that by percolating the flag up to the blk_mq_tag_set, and > updating the newly added queue's hctxs if the flag is set. > > This problem was introduced by commit 0d2602ca30e41 (blk-mq: improve > support for shared tags maps). Applied, thanks Jeff and Ming. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[patch, v3] blk-mq: avoid excessive boot delays with large lun counts Jeff Moyer <jmoyer@redhat.com> - 2015-11-03 16:50 +0100 Re: [patch, v3] blk-mq: avoid excessive boot delays with large lun counts Jens Axboe <axboe@kernel.dk> - 2015-11-03 16:50 +0100
csiph-web