Message ID | 20170331231205.16640-4-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A80DB60350 for <patchwork-linux-block@patchwork.kernel.org>; Fri, 31 Mar 2017 23:12:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90AE128510 for <patchwork-linux-block@patchwork.kernel.org>; Fri, 31 Mar 2017 23:12:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 817222869D; Fri, 31 Mar 2017 23:12:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI,URIBL_BLACK autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DEAA28510 for <patchwork-linux-block@patchwork.kernel.org>; Fri, 31 Mar 2017 23:12:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754896AbdCaXMS (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Fri, 31 Mar 2017 19:12:18 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:22149 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753986AbdCaXMQ (ORCPT <rfc822;linux-block@vger.kernel.org>); Fri, 31 Mar 2017 19:12:16 -0400 X-IronPort-AV: E=Sophos;i="5.36,254,1486396800"; d="scan'208";a="7689650" Received: from mail-cys01nam02lp0054.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([207.46.163.54]) by ob1.hgst.iphmx.com with ESMTP; 01 Apr 2017 07:12:16 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rgpVczyLMQxGFhykFLdMhfBjWE8vL449JaUH2KqvJjI=; b=ZkpzIM0EijWECIv+ieOfecYDDAsOGrBmE9hjA3wPUA1pMWadn5x1O5FxDoJV0FaoKnQsONcW8f76nJjC/jE1YTEVP1seqY/3JCUtYNNAjezfQAipW6URkABsMfozDaFUjLNBzg72UQdnWM8Vc4I77L3dXLhcvWkEACZL929pPkI= Received: from DM2PR04CA028.namprd04.prod.outlook.com (10.141.154.146) by BY2PR04MB111.namprd04.prod.outlook.com (10.242.37.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Fri, 31 Mar 2017 23:12:13 +0000 Received: from CO1NAM04FT012.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::200) by DM2PR04CA028.outlook.office365.com (2a01:111:e400:243c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10 via Frontend Transport; Fri, 31 Mar 2017 23:12:14 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by CO1NAM04FT012.mail.protection.outlook.com (10.152.90.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1005.5 via Frontend Transport; Fri, 31 Mar 2017 23:12:12 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id FA.B9.29323.C42EED85; Fri, 31 Mar 2017 16:12:12 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 31 Mar 2017 16:12:09 -0700 X-AuditID: 0ac94369-548749800000728b-30-58dee24cde9e Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 24.9D.11415.942EED85; Fri, 31 Mar 2017 16:12:09 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Jens Axboe <axboe@kernel.dk> CC: <linux-block@vger.kernel.org>, "Martin K . Petersen" <martin.petersen@oracle.com>, James Bottomley <James.Bottomley@HansenPartnership.com>, Bart Van Assche <bart.vanassche@sandisk.com>, Christoph Hellwig <hch@lst.de>, Hannes Reinecke <hare@suse.de>, Sagi Grimberg <sagi@grimberg.me> Subject: [PATCH 3/3] scsi: Ensure that scsi_run_queue() runs all hardware queues Date: Fri, 31 Mar 2017 16:12:05 -0700 Message-ID: <20170331231205.16640-4-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170331231205.16640-1-bart.vanassche@sandisk.com> References: <20170331231205.16640-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRmVeSWpSXmKPExsXCddJ5ka7Po3sRBo9btS1W3+1ns9izaBKT xcrVR5ksNvZzWOy9pW2x/Pg/Jot1r9+zOLB7nL+3kcVj2qRTbB6Xz5Z67L7ZwObx8ektFo/N p6s9Pm+SC2CP4rJ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Hl6USnlhV3jzaoTG4ZSuzvDKDxLr+lLvi3/yXSNyLfzffMVfLhIPNM5PyZp00v/6vKBu Db9JGYsfd/IvfnzYL8J+5cnvhencDNvjYrYvnGf+x0dp4Y4PTC6Pzor+bNi8Yv4UdrVD754s /7vN5/6Jon2mM4o0DihYsjTYHys6uUauOJ13sRJLcUaioRZzUXEiANFXB5TTAQAA MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39400400002)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(2980300002)(438002)(189002)(199003)(9170700003)(47776003)(50466002)(77096006)(2906002)(48376002)(53936002)(1076002)(5003940100001)(33646002)(54906002)(36756003)(305945005)(86362001)(8676002)(189998001)(38730400002)(5660300001)(50226002)(8936002)(106466001)(76176999)(4326008)(2950100002)(6916009)(6666003)(50986999)(81166006)(356003)(110136004)(50929005); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR04MB111; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:nov; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT012; 1:s5qsvcnluBJMZ3URNNVkkiDw27l9bFKEe4zHfHDVXqtJWAx1nATzEfjBoHuOXjZfxHMBR9El/254LJACX3W2+ARSMSmP97ArcuXqesKKe/P8tbKsiv/fyYhYBWIUpkiwUQBIgIMuZ1fQq/GN1jZL0upr3evJfUikRiyWBcrny63B/0YqqySSyp2DZW4d8hegItfyp37VCJvDpBKUAXmFfj0WIL4vagH0GVjBTDwNY5sMefqT8FQnFTiI/5BSQOO4HB7OWNOiUBeqIRdn2xgL6K1bgMT5/YdFXrhAbNsSOwXhRzrpe4URDOVECidsDAIzqF230mCclkhY7S3XImyI+VM3AvJGRAY+KIQkjKDMwWTUa4iwhLPNMHtq/yMAwfRIqyuT+uKRAmzUGK8huEvC2RuNrY0zgTUepbUeyoENOOkWLbj35Y+kxTE9p5Cq1rI8DH5rFK+8rH+l8I3+uOMkRDDpkB+SKLqWYQVq2ZhnXC9UOQ0WAFr1nxKS4uccL+1sS3f1B7ZRm/8Xtgg7m+zlyZJlY1EDgndrstyoYZYINrw= X-MS-Office365-Filtering-Correlation-Id: e5bfdf48-e0dc-48e6-93b0-08d4788b5db4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BY2PR04MB111; X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB111; 3:oHa1hnUmOFqdHc3kLwsqCb+0tiKf2KBjuAc2KtnRPGmGeDfcwNISvZVqip5mwzMj44HXXVmSmVT2kfyV8y0uoiVTDiNXf4GLQvzo9ABcmhNOwavJ7UTJWR81nykKYZw3JSBei1Jp9WXbKnQzQSUZ2bkrkkPfIsgnNgK2w2lzYam/wDNKnc244a9theY5dxRIVn91kwuPSBiG6E4tQKSjPXXeAvyFo45aWlmVr7bwMHTtcSwgAPeo6+d8Xr3CFkP+6GnjbZvSdISLV+9rPP2JV7fwzTCAzC7GE20IN13pXaujPFW2bGXhJ5vvZ0cqwGr19BGpfngyfUY9NbP904EEDGzuXDTglhz3hn4AufBLwKKPIsqAH0wiHdKOLXUpURxmrWh9ydE7Doz/e3R52udZDBAoLP8s6fl5v25m5r0N6CzQjX6KS3zfLhLCOfxyaWD2KHy/hAu7v25qGGpohAaWEGAQJybe8LK3b5HLnC3YGRmUQxVNJnsJ07BH5FtLPzPjiO0ZSq3ms9EY+vGJ7MqkWA== X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB111; 25:o6qch2CKmp+V90FOljKre6BLFA/9tiX5KI5twKyvnb4bX2EZcYksPzJdrsenvM4lCeyCUB/I1qe89LdlkLEN/oPgc43to2mUei/rPlZIKIcPsCjr/I1oDcm30rXLSn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6+SzmKODhczoqMhyH77QUouEwDoYVzfnUSReuSOVCfYZmhvsnGLfiAxlW9Sro2b7Wqljrj+9nC3soSiw8ohhYQwRqVZH+tqj5w0bTqPTTKMBLUvuNNQpfTi05Wq2/oQXR8uGEJqnWORw X-Microsoft-Antispam-PRVS: <BY2PR04MB111E397BF8E3C308DE42FB481370@BY2PR04MB111.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(235219596079481)(146099531331640)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13016025)(5005006)(8121501046)(13018025)(93006095)(93004095)(3002001)(10201501046)(6055026)(2002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BY2PR04MB111; BCL:0; PCL:0; RULEID:; SRVR:BY2PR04MB111; X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB111; 4:WJnjAsACRpw31BzT/EfV6mAVIqQsKfxi4InXh1L+ewBjQZgR2LkJAd/w6qhrcmYwXDdlssXLSkM1M9G3xUIbEclYX5EogOrVRBDZjpc9qHlrspEcoghmITQY4s11qMAm7E1VrJCEFLJPIKnpDLlS4M0TV7oGdieVZ/T9oY37ELuEF6i7b+umMNue8Kw2HyBHQU8am+i+DV3uC1vMAREsZ9+nGrcfaDV/Rs6SZznLdJSkUO1EUxI764zTmT0oEKg+kOhgkJfe7PyuEs0WDZ54H9jDz1T4TyFdb9H3q9tt7uP9KUXiBIx3aVJCVi/qGCzcNWI0UBeiRsApUEaI9VAxe0c3vYgtNOUT438odeNPNAf8vBnE67ldtKmxywrdTQyTe4CGfu5jYLiA5OFu1/GUc8GZ1HiQyG3TvnMa6oQ9KZkevAGxb7vWu5Zz8Bxe0ljAaJN6RgVSt/Hz4ohlRX9C32E+yHUAfJzNNamyESaqk1rRW3RITQRS4QxONGgOEcS0jc0z847RiTfiZbC4ouWxyQa3mWZce5ubsQDdtsKR7eySifT2F/RwcerL0cdNpCXauT6qeJW5bc5XeZPqxQrcH19CfSfsbpyS+D36q8Jk/Vshko4ZYenZhV9Wz5A/od7ivVouAuvGlOpLyU3ZCssQD4FigBdAYED8JuD8A8TVBOP22wRZAK6AOXzxA03OeCoOlDIRxRK/KQ405i1QHdu8AdTzdABJ0zSkJvbmSVhM2bn3sGlsB8wdpjxMdOHzH6O6VRkRAq6N5IIxG0phgFKnYOozH7ewSzqVPw9TGirG3BkajpPCIDryU0wev+0VtWDfmLFUWppHlud0Jvxhqj6VSdDHDSBYu7Gkas0s4NKPoepaKt5AS2IoggJRszBH2BKPpQ9/syXyozYq7Y6IxHdSqQ== X-Forefront-PRVS: 02638D901B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR04MB111; 23:hKbHh20/AcVlkQGCOZj2LAT+Sq43vARExg9aKaRBx0?= =?us-ascii?Q?OzrbSOFzNj+rhD1sipDvSjOkKNICphy7CZFdrXuZv5DYHOA6bkaU9QuBTHnD?= =?us-ascii?Q?jAuVOe0qE3NkZmD7iKcmv7tSgVgx1hVPaxBW27TXXkWlJVfW1GlpXSayVHWg?= =?us-ascii?Q?2PqSpCLSjAHGJIvN9ewsAlGcsU5CV59MYZ3PRfAOTYHKA3kyL/oY33AAwM0W?= =?us-ascii?Q?HKXFSfdmaAXQlRAHkstw96fVzPkNIjA/aiLq8mXiZl/0OOAdTfujOT6KCKFt?= =?us-ascii?Q?qCYuOaMUKww73ONokKp9Dc2yfCLMuHwrQexcPhvqgpn003RxEWQjNuBQ35Pt?= =?us-ascii?Q?OqrbPYHKMn0SqbAGTDaxae7JDWWD6VD/P1Pm8kFH8nvUlQcTwCgunpYR+UDr?= =?us-ascii?Q?gHvxXPZZ9ADPyukTnbuOzjJoXnWHgEFDJvj30HFDOBqMvfXN/v1F5wQPEjza?= =?us-ascii?Q?kw8ddiK49hU5E94YwYIfqV+5i0FNKqve02KGgolab7ZgwezW8mNCyr14rMR9?= =?us-ascii?Q?uTtW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SdjqTMLialjTVAIUHMgHn33bf5wNAYwg05UdFCZWeJzzNMdTtB2Zocfe96wusWglW9QiGoZIFM=; 5:EuQfi87vLH0iayyUAcJuRi2MoYwhrUsWRGFLEaL05mofyqqf1hglQ678d6B0Wyyp/y9K9ItTQMkYoKSctx4lNFcOxj12Ra0WkgM7+lYoEdOGi5zLscB1l7b6n4LD/aO/E+NqFOxGHm51CSGTb74y3uVSGbI4rkcgqmsCFu+joKs=; 24:NVT8UC0OHm3jNTDAGMLBvV1uKKI7ulIdvDHHZWHMxXKky7z6u/euQHeEUQZI2t58dZimFzkTGnWudGBDx8D+2DjfPiCqYAnPLw3vXlD8m+I= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB111; 7:dMY3RwIrPT0BUfclRbOqCqonCO3tzkJFVcekwNPlhEMKT7ZVi9XocaYqTrABrcsKMpkEp/WaqNtg8qryT7/Pgijqcal0cOIGULFXRqgKBgU844hR4Jcc6GZrkWS9OiDRUu3IfVyzo6YjWayUdaq4GC87Y/yQdvJ5KHdJztgdLZkSkmD5iWMmF90LSTZhM73Gzk4sNDPON51GOIGJFK6zxOEtc0QmH6XGyXBFCXdgihRrJeTtpkXaCLrel3QOG7wbwrSXQn3EEt2D3RC4w5eZuhL2HzKnjJKezUAWsBw3KDo343Q1AnbvGP0sDOsIyiJJ5ohvpkX3QByMmTyr3a2VSg==; 20:Yx5gpJJbwZGfE6nuu4TxZJkjJVOjwULlsxFlfQUXLYm8ZF1Q7s3cv7+ApcOiRacz+cuZHV7iw8Wst16OTvPsYc2XZB+KmTnV+0/2FdojfJEawBW1x4qcVPHVrzSsrCB4MVamYgF0U4q8lcJeQ6yoAeRlBdXYlD6YGv1s4ZMxm5Y= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2017 23:12:12.9766 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR04MB111 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Looks good,
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
On 04/01/2017 01:12 AM, Bart Van Assche wrote: > commit 52d7f1b5c2f3 ("blk-mq: Avoid that requeueing starts stopped > queues") removed the blk_mq_stop_hw_queue() call from scsi_queue_rq() > for the BLK_MQ_RQ_QUEUE_BUSY case. blk_mq_start_stopped_hw_queues() > only runs queues that had been stopped. Hence change the > blk_mq_start_stopped_hw_queues() call in scsi_run_queue() into > blk_mq_run_hw_queues(). Remove the blk_mq_start_stopped_hw_queues() > call from scsi_end_request() because __blk_mq_finish_request() > already runs all hardware queues if needed. > > Fixes: commit 52d7f1b5c2f3 ("blk-mq: Avoid that requeueing starts stopped queues") > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > Cc: Martin K. Petersen <martin.petersen@oracle.com> > Cc: James Bottomley <James.Bottomley@HansenPartnership.com> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Hannes Reinecke <hare@suse.de> > Cc: Sagi Grimberg <sagi@grimberg.me> > --- > drivers/scsi/scsi_lib.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 1d804e33971a..3323878423ac 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -496,7 +496,7 @@ static void scsi_run_queue(struct request_queue *q) scsi_starved_list_run(sdev->host); if (q->mq_ops) - blk_mq_start_stopped_hw_queues(q, false); + blk_mq_run_hw_queues(q, false); else blk_run_queue(q); } @@ -681,8 +681,6 @@ static bool scsi_end_request(struct request *req, int error, if (scsi_target(sdev)->single_lun || !list_empty(&sdev->host->starved_list)) kblockd_schedule_work(&sdev->requeue_work); - else - blk_mq_start_stopped_hw_queues(q, true); } else { unsigned long flags;
commit 52d7f1b5c2f3 ("blk-mq: Avoid that requeueing starts stopped queues") removed the blk_mq_stop_hw_queue() call from scsi_queue_rq() for the BLK_MQ_RQ_QUEUE_BUSY case. blk_mq_start_stopped_hw_queues() only runs queues that had been stopped. Hence change the blk_mq_start_stopped_hw_queues() call in scsi_run_queue() into blk_mq_run_hw_queues(). Remove the blk_mq_start_stopped_hw_queues() call from scsi_end_request() because __blk_mq_finish_request() already runs all hardware queues if needed. Fixes: commit 52d7f1b5c2f3 ("blk-mq: Avoid that requeueing starts stopped queues") Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Martin K. Petersen <martin.petersen@oracle.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Sagi Grimberg <sagi@grimberg.me> --- drivers/scsi/scsi_lib.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)