On Tue, 2018-07-24 at 16:10 +0800, jianchao.wang wrote:
The blk_mq_hw_ctx structure is also per request_queue Please refer to blk_mq_init_allocated_queue -> blk_mq_realloc_hw_ctxs
Hello Jianchao,
I think that Ming Lei's patch "blk-mq: remove synchronize_rcu() from blk_mq_del_queue_tag_set()" makes Roman's patch superfluous. When I reposted Roman's patch I had not yet noticed that Ming's patch is already in Jens' tree. See also https://www.mail-archive.com/linux-block@vger.kernel.org/msg22956.html.
Bart.