Received: by 2002:a17:90a:c8b:0:0:0:0 with SMTP id v11csp2300398pja; Fri, 19 Apr 2019 11:33:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBvvaZsY/10RtmGNEV+PfjwIqIiTMX7TBdj2n1sPsDvJTsCRK5DZBVRn8ve2rrPNnWfreC X-Received: by 2002:a65:4302:: with SMTP id j2mr5202422pgq.291.1555698817823; Fri, 19 Apr 2019 11:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555698817; cv=none; d=google.com; s=arc-20160816; b=cEUP0nSv1vZmgZVMhuHOUgcibgcOOzeIMSEFMAuYn0dZiuVmrtk8Y9tvM51cAOP2FS KwL7lA12K58TWPcpBjvY9lRmRx0D1CMvLd65DFQg99KSEJ/hT5puFzFWRMY1ZTxzKUrQ IBTyCUKKYWPn3m+ip4vzHhYCQMGEyAyo1HS8n7RO2ZilS6JRbqWvtFsvASAFtfRQ51/R 7LpCOy7OZ2vYWbUdcaQliyVwoVQrBS6C67L20j8/3hqsiKLfp0ZScKZgk0ebSv97GphZ o72mNgFS3L5+Pz63/Lq2trwUOA2nzzJ60uC00bhyfxM4731EYZR0zEUcEYO8OLTfBIuu kxlw== 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=+3MCTwdWw5c6rXVxCKBn8p5OSb2Kx/KJ7WrMR9gfXg0=; b=rEpSXtgl8lDlOTAUDGuXnd4272nzvNCA276kq4hSXeIasPJlHBMJ8n9OPq1iYFtG8M w4FQMStdQ1Waqiy0Tbq/f/7Bb1vkxaPs6IOxK4XrCeh7ijE6nV1oCQMypZFszIPHUUIB +Itleab2mL42csTP0GFqBjrFA9XhlabyXhHtO1D4jRKC7zA6U/D2NF7yP4jHljC9Wv+O dWKiaErQ133YAjpmmqmUPvxsLT+DnDmXJxbw4d09kouFfHc+ruZf8xGL7QgJ5jumon6r GEV+RLEg6YKm+40xsr3D8WqT8CvXWVHOuhOSVwRWSXLWZ8MAQ1zErX73QAf1OHcF11ZM RLdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ru6q5Buv; 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 w22si5677492plp.318.2019.04.19.11.33.22; Fri, 19 Apr 2019 11:33:37 -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=ru6q5Buv; 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 S1727745AbfDSScF (ORCPT + 99 others); Fri, 19 Apr 2019 14:32:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:53916 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727827AbfDSS3R (ORCPT ); Fri, 19 Apr 2019 14:29:17 -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 B7616222AE; Fri, 19 Apr 2019 13:32:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555680751; bh=+3MCTwdWw5c6rXVxCKBn8p5OSb2Kx/KJ7WrMR9gfXg0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ru6q5BuvRuJEYc0Lt/wzKh77J/z20FBCSRgghM1i4Z1WF+lTixU3gNL6yfWjDzO1m XvAjixFxOPhteMdTJhPLk9L8C7lX8sxe2VWTx6ARNLMRCvQoPuLcxKtHttpqc8e9nI mHkKyadnu6dKwEDkxGjx2ENy55J8AL4SCMgnDBpg= Date: Fri, 19 Apr 2019 09:32:29 -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 19/93] paride/pcd: cleanup queues when detection fails Message-ID: <20190419133229.GD17719@sasha-vm> References: <20190418160436.781762249@linuxfoundation.org> <20190418160438.746819159@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:07AM +0000, nobuhiro1.iwamatsu@toshiba.co.jp wrote: >Hi, > >> [ Upstream commit 81b74ac68c28fddb3589ad5d4d5e587baf4bb781 ] >> >> 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 f0d1762554014ce0ae347b9f0d088f2c157c8c72. >I think this commit needs to be applied together. Queued up this fix, thanks! -- Thanks, Sasha