From patchwork Sat Oct 29 00:20:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9402911 Return-Path: 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 A1F8C605EE for ; Sat, 29 Oct 2016 00:20:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F8F82A8A8 for ; Sat, 29 Oct 2016 00:20:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83C8D2A8BB; Sat, 29 Oct 2016 00:20:59 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLACK autolearn=unavailable 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 0EAAF2A8B6 for ; Sat, 29 Oct 2016 00:20:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935236AbcJ2AU5 (ORCPT ); Fri, 28 Oct 2016 20:20:57 -0400 Received: from mail-co1nam03on0083.outbound.protection.outlook.com ([104.47.40.83]:64128 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752423AbcJ2AUy (ORCPT ); Fri, 28 Oct 2016 20:20:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wg9KzTrVeKZrceR0i4S9u+gW8FPpFjBQGeFiLPwhALo=; b=WpC2rn0g6/xv0FLaAWBd+UP9/TVC5jIuqKLf9zT/MnTIedLwjE8EnIXkhF3T6LDCfZH6KRotjEtiEYaGtIAuwxQtg2WKPsav6aMud9HS91De1PGmRBMVvPfpwxdSBgGKrmfExNCfz9dB56N0T5JXl5wiDmtRfrHxmkslyD1g8fs= Received: from DM5PR02CA0059.namprd02.prod.outlook.com (10.168.192.21) by BY2PR0201MB1576.namprd02.prod.outlook.com (10.163.154.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12; Sat, 29 Oct 2016 00:20:51 +0000 Received: from BY2FFO11FD031.protection.gbl (2a01:111:f400:7c0c::180) by DM5PR02CA0059.outlook.office365.com (2603:10b6:3:39::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12 via Frontend Transport; Sat, 29 Oct 2016 00:20:51 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) 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.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BY2FFO11FD031.mail.protection.outlook.com (10.1.14.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.5 via Frontend Transport; Sat, 29 Oct 2016 00:20:50 +0000 Received: from MILHUBIP03.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 AB.A0.61581.E09E3185; Fri, 28 Oct 2016 17:10:54 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Fri, 28 Oct 2016 17:20:49 -0700 X-AuditID: 0ac94371-607ff7000000f08d-f9-5813e90e50d2 Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id D1.4B.03615.16BE3185; Fri, 28 Oct 2016 17:20:49 -0700 (PDT) Subject: [PATCH v5 06/14] blk-mq: Remove blk_mq_cancel_requeue_work() To: Jens Axboe References: <7460e8b2-2cfd-c0d5-7ae7-7f662d89dad3@sandisk.com> CC: Christoph Hellwig , James Bottomley , "Martin K. Petersen" , Mike Snitzer , Doug Ledford , Keith Busch , Ming Lei , "Konrad Rzeszutek Wilk" , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Laurence Oberman , "linux-block@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "linux-nvme@lists.infradead.org" From: Bart Van Assche Message-ID: <7207b8ad-aec9-b7d8-e36b-8c360bf32f06@sandisk.com> Date: Fri, 28 Oct 2016 17:20:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <7460e8b2-2cfd-c0d5-7ae7-7f662d89dad3@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHIsWRmVeSWpSXmKPExsXCddJ5kS7fS+EIg32vtS3+7znGZvHy/AdW i5WrjzJZrJqYZ3Hv6Bcmi2WLnzJa7L2lbTF/2VN2i2eHelksuq/vYLM4/+EVk8Xy4/+YLGac X8xq0bbxK6PF+x/X2R34PV5PnsDoMbH5HbvHzll32T0W73nJ5PHg0GYWj81L6j1232xg8/j4 9BaLx/t9V9k8Pm+SC+CK4rJJSc3JLEst0rdL4Mr4PWcaW8FK0YrHM+azNjCu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lUsWg9UwC6hL/Jl3CcqWl9j+dg7zBEa+WUhaZiEpm4WkbAEj8ypGsdzMnOLc9MwCQyO9 4sS8lMzibL3k/NxNjJCYidrBeH2i+SFGJg5OqQbGfOUjratz4pZz+v6Zl9unvZDhkPzrXT+W 3p593+lxwDcVbtl1TXUpau4tL+bNk2R8tfdT4+UTjvU/I5l23ffnkQpb/qX42JuSd7yi/fUx TOEfD7+o3PL56IXF3/WCfHQkJb9IWB3+3pcU18Eq12M7TVTR4Xd5b1jIFaHry90XN/7buSpr +8+TSizFGYmGWsxFxYkAnxaha0kCAAA= X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(5660300001)(50986999)(626004)(87936001)(68736007)(86362001)(97736004)(69596002)(8936002)(586003)(4001350100001)(50466002)(65956001)(81166006)(83506001)(65806001)(64126003)(23676002)(47776003)(92566002)(189998001)(36756003)(81156014)(4326007)(31696002)(54356999)(76176999)(6916009)(2906002)(7416002)(33646002)(2950100002)(65826007)(31686004)(229853001)(8676002)(106466001)(19580405001)(8666005)(19580395003)(305945005)(7846002)(2270400002)(77096005)(110136003)(356003)(11100500001)(53416004)(230700001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0201MB1576; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD031; 1:x87lwtHnZnx7Sq62lNYbXUoe0SIUS6Bw/0lvpEjyWs2DK/0wmmXOBnSzsXm/FdHEvw9/qS2/auf9iWbn0KN48KfgDawSC+NXDEINd9LCE7ZztwvFf/bMp5uDGxopE9zKLSkigrxYsvZ8vyB3C1YOV4g7SYXXjcLvsPXMdFDnDjJn89fmOU5MIXzSYfRFIsKCCXhZUihd6Ho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1dQ0aN1bl/W/OLZtLP1+QlwCCTSMqS01nDSagQRIr1XXG6gMYFvDip+9WeRBUA3wPwzeLp3aQXUQfIPH6rc2gazlLWU4o9Xli73PhtLDLKdJgHPWiybr/WjUSv8SR1pkKXhmsq8xiAwu++UPwx8mXfuRH8YxQa1bKDOhkmAD5 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13016025)(5005006)(13018025)(8121501046)(10201501046)(3002001)(6055026); SRVR:BY2PR0201MB1576; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0201MB1576; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0201MB1576; 4:td+A+qpcd1G+lS/3bQqObexDGVeqJ5+x6S0LK0nDIWDAE1/dIbEH7d5JTddvz1XwklOv7gkSGf11aA0xw7s8TrQRgaBM/g6Sook0zJW+73Wc8uT+CB3/PyWNeN4a2AVDjgl6RUJtLL1uQnHv/ImMCCb/Id+pw+rDMA7dF0VGH8+YFGGaUGpoes+CbOTzaStHEjwLuz6qCgIUy+teaXVssMCQQfuISeaZRavncep7kKKSEzwCIcowuHbCTzmNbzAY06AMCGvM08saY98bjz0l+6Ab7J0KT2/Wg3JMSmdjdJGntCLYQWAwUIdN9Hx/ycrq3AzYYfpDUczp+rNzNfYdQXk2k8ZwwWuFVU3ol66Fqd+HErR1UyYj0v8IovTocSA4mC86tdMyFpQBO6TYWD34uedQj0BLxn5n6Sx8oCowRsQ+xq2f/Pcclg4SqsOkoKi6n5Chaw+mZWTP1OTX6JfZuDwe54vsWrfUrmp24g0wb9IuzjeABBYlHIGbVgQAj/4IFlxPJlIZQJLVJP7CGnwYQxDuj/A0MVeJV1OwQU2kgqE= X-Forefront-PRVS: 01106E96F6 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjAyMDFNQjE1NzY7MjM6c2ZDS2s0Ujh1Nkd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dyWPDQPmgwHKyylnSl0Qt2WD+y6LpHd69jnZEr52kyp3llxh/xWwpiEnJmJgfUa7/3xl+K4EpezHUEYewy/+QK7cJJHX+P+hpmEFPfwAIwhXWE3eBsqwTL+u/aw01gZnCh0hUye9s+G1ddyxMEP1CUn7P4xKyi1Fd/tqbpZVUPHDbc+Y+KVA8tx78aTUImTzSmBsc3hDp0UX59h9Fv9z7ssADtySz/WH9ujxZDQKFMfR52xfTWiQSbY5BZVlcjw X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2016 00:20:50.7029 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1576 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since blk_mq_requeue_work() no longer restarts stopped queues canceling requeue work is no longer needed to prevent that a stopped queue would be restarted. Hence remove this function. Signed-off-by: Bart Van Assche Cc: Mike Snitzer Cc: Keith Busch Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Sagi Grimberg Cc: Johannes Thumshirn Reviewed-by: Sagi Grimberg --- block/blk-mq.c | 6 ------ drivers/md/dm-rq.c | 2 -- drivers/nvme/host/core.c | 1 - include/linux/blk-mq.h | 1 - 4 files changed, 10 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index fe367b5..534128a 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -528,12 +528,6 @@ void blk_mq_add_to_requeue_list(struct request *rq, bool at_head) } EXPORT_SYMBOL(blk_mq_add_to_requeue_list); -void blk_mq_cancel_requeue_work(struct request_queue *q) -{ - cancel_delayed_work_sync(&q->requeue_work); -} -EXPORT_SYMBOL_GPL(blk_mq_cancel_requeue_work); - void blk_mq_kick_requeue_list(struct request_queue *q) { kblockd_schedule_delayed_work(&q->requeue_work, 0); diff --git a/drivers/md/dm-rq.c b/drivers/md/dm-rq.c index 1794de5..2b82496 100644 --- a/drivers/md/dm-rq.c +++ b/drivers/md/dm-rq.c @@ -116,8 +116,6 @@ static void dm_mq_stop_queue(struct request_queue *q) queue_flag_set(QUEUE_FLAG_STOPPED, q); spin_unlock_irqrestore(q->queue_lock, flags); - /* Avoid that requeuing could restart the queue. */ - blk_mq_cancel_requeue_work(q); blk_mq_stop_hw_queues(q); } diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 79e679d..ab5f59e 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -2083,7 +2083,6 @@ void nvme_stop_queues(struct nvme_ctrl *ctrl) queue_flag_set(QUEUE_FLAG_STOPPED, ns->queue); spin_unlock_irq(ns->queue->queue_lock); - blk_mq_cancel_requeue_work(ns->queue); blk_mq_stop_hw_queues(ns->queue); } mutex_unlock(&ctrl->namespaces_mutex); diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index aa93000..a85a20f 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -217,7 +217,6 @@ void __blk_mq_end_request(struct request *rq, int error); void blk_mq_requeue_request(struct request *rq); void blk_mq_add_to_requeue_list(struct request *rq, bool at_head); -void blk_mq_cancel_requeue_work(struct request_queue *q); void blk_mq_kick_requeue_list(struct request_queue *q); void blk_mq_delay_kick_requeue_list(struct request_queue *q, unsigned long msecs); void blk_mq_abort_requeue_list(struct request_queue *q);