Received: by 2002:a17:90a:c8b:0:0:0:0 with SMTP id v11csp2302082pja; Fri, 19 Apr 2019 11:35:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQZqPKp626aWhFrzX+6yu7ZZmkDJ1kjip9c1G0UKWWMQ3V7QZcjUcXsg1n5G8N8dwYOzKq X-Received: by 2002:a17:902:a5ca:: with SMTP id t10mr5396539plq.234.1555698940264; Fri, 19 Apr 2019 11:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555698940; cv=none; d=google.com; s=arc-20160816; b=mNe+SsQZ1l3lywtXb+jihAFeyFePXkvO913hOCzy0EIhHr+1W6cztPxbETXAn9DJr5 YdLrWjE8Cunov0KS4LVMFuxNlpHRBtgTfz2aQfQjHxYnr+eDDl1vG/ICWX9iSw0EdOw5 S6D3WDguqYJFcuppMcNEb+HMBlq1tldHh3Xs5U9OwyePXy8F97SnRDelC/epfTkg5rCz 65R1QtHc4QoGoFRxswd+X5vjWSd8bBuHiEP48BAIrl8//hBCeJR8xGO2IhsYRYpAvyhy kpbnuhJBRn2PtdABYTmNukehHYzLVLqMksGNwy1aRuugF4cjL34XfI7Lk+T/KJdMhtAM Sgbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LCByuqS9q3i5zn3DMZgsq0fNEVO8mhG+k2JFsvdFVL4=; b=vQsACiWF0ZWMrzd3rDOGhI6lSLNsww50JVAnYE39SjevsOPzIbbzVNXksl4CY0iQie FhI8/fqZaMyA4ACE7uA37n5OQcm03hHFqy3tPjlUcb2/r/UtX70AH9kfWGpfBPwnrsvQ NjVkjR/N2pLraAoJoSUvNleLxtWfXqBDYLSjGw/ElQMAK/9YATgkt6GvuJ/w/59u5FO+ WZhfUyfenjmo0EmKHpUx3uTUryO8J9vEq4uwmso0yNnkVy0ASzvKSixTToENS51yGeXs 7jO+ZhT5oibZGbmS2DAIJPsKnkaaAuHouuaTBDe5UviPgolHWkeHkKeyOrZYhCXNwYCS Vgqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jHcGvVsG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l68si6131227pfb.248.2019.04.19.11.35.25; Fri, 19 Apr 2019 11:35:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jHcGvVsG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728257AbfDSSdX (ORCPT + 99 others); Fri, 19 Apr 2019 14:33:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:53874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727651AbfDSS3Q (ORCPT ); Fri, 19 Apr 2019 14:29:16 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7D51D222AA; Fri, 19 Apr 2019 13:30:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555680657; bh=LCByuqS9q3i5zn3DMZgsq0fNEVO8mhG+k2JFsvdFVL4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jHcGvVsGdWwDm1LERUBg35Jwx1ivtGCk9Eyvv9UMpf1qGjWsihW/i0lDG/WoVmd+I Sz0K/J+0KYbqZAPuxewCL45ispv8UvzhcZQAHzjJ+ZN9BWcODibLCKyQgTHF3KYJ2F L6B7sNgBozewvM0muyBdk0s3xzQwE3vzG7vV7M94= Date: Fri, 19 Apr 2019 09:30:56 -0400 From: Sasha Levin To: nobuhiro1.iwamatsu@toshiba.co.jp Cc: gregkh@linuxfoundation.org, stable@vger.kernel.org, rdunlap@infradead.org, axboe@kernel.dk, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5.0 18/93] paride/pf: cleanup queues when detection fails Message-ID: <20190419133056.GC17719@sasha-vm> References: <20190418160436.781762249@linuxfoundation.org> <20190418160438.663257972@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 19, 2019 at 07:13:40AM +0000, nobuhiro1.iwamatsu@toshiba.co.jp wrote: >Hi, > >> [ Upstream commit 6ce59025f1182125e75c8d121daf44056b65dd1f ] >> >> The driver allocates queues for all the units it potentially >> supports. But if we fail to detect any drives, then we fail >> loading the module without cleaning up those queues. This is >> now evident with the switch to blk-mq, though the bug has >> been there forever as far as I can tell. >> >> Also fix cleanup through regular module exit. >> >> Reported-by: Randy Dunlap >> Tested-by: Randy Dunlap >> Signed-off-by: Jens Axboe >> Signed-off-by: Sasha Levin > >This commit causes a new problem. And the commit that made the fix >is 58ccd2d31e502c37e108b285bf3d343eb00c235b. >I think this commit needs to be applied together. I've queued up this fix, thank you! -- Thanks, Sasha