From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] blk-mq: only run mapped hw queues in blk_mq_run_hw_queues() To: Ming Lei Cc: Jens Axboe , linux-block@vger.kernel.org, Christoph Hellwig , Stefan Haberland , Christoph Hellwig References: <20180328012035.17565-1-ming.lei@redhat.com> <20180328152617.GA6071@ming.t460p> <19cb3f30-a2aa-5d3b-acad-95c882615929@de.ibm.com> <20180329020021.GA29317@ming.t460p> <20180329095214.GB17190@ming.t460p> From: Christian Borntraeger Date: Thu, 29 Mar 2018 12:11:27 +0200 MIME-Version: 1.0 In-Reply-To: <20180329095214.GB17190@ming.t460p> Content-Type: text/plain; charset=utf-8 Message-Id: List-ID: On 03/29/2018 11:52 AM, Ming Lei wrote: > From the debugfs log, hctx0 is mapped to lots of CPU, so it shouldn't be > unmapped, could you check if it is hctx0 which is unmapped when the > warning is triggered? If not, what is the unmapped hctx? And you can do > that by adding one extra line: > > printk("unmapped hctx %d", hctx->queue_num); Where do you want that printk? > > Thanks, > Ming