From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932847AbbJMR2x (ORCPT ); Tue, 13 Oct 2015 13:28:53 -0400 Received: from e28smtp02.in.ibm.com ([122.248.162.2]:50125 "EHLO e28smtp02.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932421AbbJMR2k (ORCPT ); Tue, 13 Oct 2015 13:28:40 -0400 X-Helo: d28dlp03.in.ibm.com X-MailFrom: raghavendra.kt@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Message-ID: <561D3F81.3010506@linux.vnet.ibm.com> Date: Tue, 13 Oct 2015 22:59:37 +0530 From: Raghavendra K T Organization: IBM User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Jeff Moyer CC: axboe@kernel.dk, linuxppc-dev@lists.ozlabs.org, ming.lei@canonical.com, keith.busch@intel.com, snitzer@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] block-mq:Fix the null memory access while setting tags cpumask References: <1444713927-16261-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15101317-0005-0000-0000-00000812783E Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/13/2015 10:17 PM, Jeff Moyer wrote: > Raghavendra K T writes: > >> In nr_hw_queues >1 cases when certain number of cpus are onlined/or >> offlined, that results change in request_queue map in block-mq layer, >> we see the kernel dumping like: > > What version is that patch against? This problem should be fixed by the > patch set from Akinobu Mita. I tested cpu hot-plugging on my system > with an nvme device, and it is fixed there on mainline. > Hi Jeff, My patch was against (4.3.0-rc2) bcee19f424a. I do see now that commit 1356aae08338 (blk-mq: avoid setting hctx->tags->cpumask before allocation) has equivalent fix. Thanks for the information.