From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] blk-mq-debugfs: add mapping show for hw queue to cpu To: weiping zhang References: <20170712165400.GA9696@localhost.didichuxing.com> Cc: linux-block@vger.kernel.org From: Jens Axboe Message-ID: Date: Wed, 12 Jul 2017 10:57:37 -0600 MIME-Version: 1.0 In-Reply-To: <20170712165400.GA9696@localhost.didichuxing.com> Content-Type: text/plain; charset=utf-8 List-ID: On 07/12/2017 10:54 AM, weiping zhang wrote: > A mapping show as following: > > hctx cpus > hctx0 0 1 > hctx1 2 > hctx2 3 > hctx3 4 5 We already have that information in the /sys/block//mq/X/cpu_list where X is the hardware queue number. Why do we need it in debugfs as well, presented differently? -- Jens Axboe