From: "jianchao.wang" <jianchao.w.wang@oracle.com>
To: Ming Lei <ming.lei@redhat.com>
Cc: axboe@kernel.dk, keith.busch@linux.intel.com,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] blk-mq: adjust debugfs and sysfs register when updating nr_hw_queues
Date: Sat, 29 Sep 2018 11:02:40 +0800 [thread overview]
Message-ID: <bea8e6e0-f9fb-d70b-d8c8-d4b53bf8828c@oracle.com> (raw)
In-Reply-To: <20180929024902.GA27170@ming.t460p>
Hi Ming
On 09/29/2018 10:49 AM, Ming Lei wrote:
> Looks both blk_mq_sysfs_register() and blk_mq_debugfs_register_hctx()
> are removed from the path of blk_mq_init_allocated_queue(), so where are
> the two registered for a freshly new queue?
Initially, both of them are registered by following path.
__device_add_disk
-> blk_register_queue
if (q->mq_ops) {
__blk_mq_register_dev(dev, q);
blk_mq_debugfs_register(q);
}
blk_mq_init_allocated_queue won't do any thing.
Thanks
Jianchao
next prev parent reply other threads:[~2018-09-29 3:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-27 10:43 [PATCH 0/2] blk-mq: two fixes about updating hw queues Jianchao Wang
2018-09-27 10:43 ` [PATCH 1/2] blk-mq: adjust debugfs and sysfs register when updating nr_hw_queues Jianchao Wang
2018-09-29 2:49 ` Ming Lei
2018-09-29 3:02 ` jianchao.wang [this message]
2018-10-09 2:49 ` Ming Lei
2018-09-27 10:43 ` [PATCH 2/2] blk-mq: fallback to previous nr_hw_queues when updating fails Jianchao Wang
2018-10-09 1:41 ` [PATCH 0/2] blk-mq: two fixes about updating hw queues jianchao.wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bea8e6e0-f9fb-d70b-d8c8-d4b53bf8828c@oracle.com \
--to=jianchao.w.wang@oracle.com \
--cc=axboe@kernel.dk \
--cc=keith.busch@linux.intel.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ming.lei@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).