Message ID | 20170420232519.19906-1-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 1FB946037F for <patchwork-linux-block@patchwork.kernel.org>; Thu, 20 Apr 2017 23:25:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0697628490 for <patchwork-linux-block@patchwork.kernel.org>; Thu, 20 Apr 2017 23:25:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF53028495; Thu, 20 Apr 2017 23:25:33 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI 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 70E2C28490 for <patchwork-linux-block@patchwork.kernel.org>; Thu, 20 Apr 2017 23:25:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S948025AbdDTXZc (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Thu, 20 Apr 2017 19:25:32 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:38968 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S946391AbdDTXZb (ORCPT <rfc822;linux-block@vger.kernel.org>); Thu, 20 Apr 2017 19:25:31 -0400 X-IronPort-AV: E=Sophos;i="5.37,227,1488816000"; d="scan'208";a="12651921" Received: from mail-bn3nam01lp0176.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([216.32.180.176]) by ob1.hgst.iphmx.com with ESMTP; 21 Apr 2017 07:25:29 +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=SIlbwdPGoWrJRgEisxRG92R1a7QwqqE4sWgKJmmnjUg=; b=Y+YwSCwvKzEpGBlbTcXmVpaSS021JXwAUZsDDUHDVJnQLExzNKAbCbuv8+kBgV0KGrhZv8fwpvHLDYFyU5vMthr4gopksnqHWo+pUBWeZyP582TkFg1eUp+OdvcegxNWfS13zIvjPAhxQOUNP96TSV+o/dzt+x3TBqVBHSlLe9s= Received: from CO2PR04CA0128.namprd04.prod.outlook.com (10.165.95.30) by BN1PR04MB405.namprd04.prod.outlook.com (10.141.60.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Thu, 20 Apr 2017 23:25:25 +0000 Received: from CO1NAM04FT011.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::205) by CO2PR04CA0128.outlook.office365.com (2603:10b6:104:7::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13 via Frontend Transport; Thu, 20 Apr 2017 23:25:25 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; kernel.dk; dkim=none (message not signed) header.d=none;kernel.dk; 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 CO1NAM04FT011.mail.protection.outlook.com (10.152.90.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1047.9 via Frontend Transport; Thu, 20 Apr 2017 23:25:25 +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 25.0F.19026.16349F85; Thu, 20 Apr 2017 16:25:24 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Thu, 20 Apr 2017 16:25:20 -0700 X-AuditID: 0ac94371-093ff70000004a52-a8-58f9436168f5 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id A2.57.18148.F5349F85; Thu, 20 Apr 2017 16:25:20 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Jens Axboe <axboe@kernel.dk> CC: <linux-block@vger.kernel.org>, Bart Van Assche <bart.vanassche@sandisk.com>, Omar Sandoval <osandov@fb.com>, Hannes Reinecke <hare@suse.com> Subject: [PATCH] blk-mq: Remove blk_mq_sched_move_to_dispatch() Date: Thu, 20 Apr 2017 16:25:19 -0700 Message-ID: <20170420232519.19906-1-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHLMWRmVeSWpSXmKPExsXCddJ5kW6K888Ig+Uf5S1W3+1ns1jwZi+b xd5b2haH711lcWDxmNj8jt3j8tlSj/VbrrJ4fN4kF8ASxWWTkpqTWZZapG+XwJWxoecjU8Fu voqZPTtZGxin8HQxcnJICJhINHTfZ+pi5OIQEljKJLH0wmFWCGcHo8TlV50sMFXnHt5ng0hs ZpTY+egDM0iCTcBI4tv7mWBFIgIKEj2/V4IVMQtMYZSYdu4PI0hCWMBe4tmFSWwgNouAqsTe rXfAbF6g+MW5a5kgNshLnN2ykxmkWULgOYvExQ+TmSGKBCVOznwCtoFZQELi4IsXYHEhAXWJ k0vmM01gFJiFpGwWkrIFjEyrGMVyM3OKc9NTCwxN9IoT81Iyi7P1kvNzNzFCQrVwB+Pr296H GAU4GJV4eE+s/BEhxJpYVlyZe4hRgoNZSYRXWPRnhBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe LNmpEUIC6YklqdmpqQWpRTBZJg5OqQZGbr9GWRfnB47z1i389LfZfmZU1cOEnXbvJq713tcl JNrzuz7y4Ept36b7ynfsTrGG8HAK/Qn7IneI5Z0jx4GpzwV6N+3bYLo2+mHcf0PPvstWFRPX OvcJ3kv77B37dXFJ7vKW26r7CiyMvtU6PdkbasvnmxMqX5iyVln0/D+5ItdOxT0a634osRRn JBpqMRcVJwIA59xxnVECAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkuLIzCtJLcpLzFFi42Lh2siRopvg/DPCYPJPc4vVd/vZLA7+bGO0 WPBmL5vF3lvaFofvXWVxYPWY2PyO3ePy2VKPaWvOM3ms33KVxePzJrkA1igum5TUnMyy1CJ9 uwSujA09H5kKdvNVzOzZydrAOIWni5GTQ0LAROLcw/tsXYxcHEICGxklru15ygqSYBMwkvj2 fiYLiC0ioCDR83slWBGzwBRGiS97N7GBJIQF7CWeXZgEZrMIqErs3XoHzOYFiv/p+MYMsUFe 4uyWncwTGDkXMDKsYhTLzcwpzk3PLDA00itOzEvJLM7WS87P3cQI9jBn1A7G6xPNDzEycXBK NTCmyMxeUMJ512rV9+P5c1eGycYu4T68YtaBhW1y4lMuLrsoERBSYfdBQ3vuxqWSsav6dyZ9 Lms2PhGYZVrhsjCv8b/S8pWW2cJ9f+uebo158eKCwM/vRooOqxZxtTLeVrkWVrF3jvIdSU1O /ycyLA+yVqotcpq0PiKhK3BRwtb5y4wOX7fMumWqxFKckWioxVxUnAgAjxQmv6ABAAA= 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.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39410400002)(39840400002)(39450400003)(39850400002)(39860400002)(39400400002)(2980300002)(438002)(189002)(199003)(9170700003)(356003)(54906002)(50466002)(2906002)(8936002)(305945005)(8676002)(5660300001)(50226002)(81166006)(1076002)(5003940100001)(86362001)(575784001)(36756003)(106466001)(6916009)(189998001)(110136004)(4326008)(38730400002)(47776003)(53936002)(77096006)(33646002)(50986999); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR04MB405; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT011; 1:jFaYGY1o8pGywxNjXeZPde2QtTZoUKVxW4Vzcy88Afza1uDofk2lc92gE+FQv+k/ntKuM+ZfuossOwUToiOB5ySIwUHYCLd2YUzmWvkEoJtsClVM91a0TZG2pbOBz4vtvXt2X8nuDOFhfLC6PGvucqHSg4jjzeLPsZkT8pD5Fa8rzgrVQtcr2xWPPKBK2uMG/f1I3saNzpdOpQUsgwgGXB1H5WQ2oycToqpkpT5U2Z/RrECJC7eAdlGCtXs/1AGJmQ1w0xZwvfhMnq8w58wWpEz/6viQQiCOzClZKsyE3GEr61vCokdOQweyUwQvB+Eu2igmm/QFtuJZw2ONdXByu5cXmaXwlt16P6fN/X8XfeuAQfufrR8qf7hP34U6099hk1EEMQViab7ajWp+B7fAbqa63jzoswULh8A4R2F7CstaQ19tjjBqyczFSs3zv622lnl7vjNRUHpXcN30zGHq0qFieRVxPbv4aGMAwkZgX4mqcI3gkVkz3swvXPC11/f+ X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 877a0cbc-b3e4-4365-aa84-08d488448601 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BN1PR04MB405; X-Microsoft-Ex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PB95zJ9DhYSpNzwps4aR0h0cw9wbRLBP88Q9Z36i7WrT/7mwdk4OkW8mcGRKJ8VE3Rvs2JyZrmi/NeN4mZInKSMb12bcZ8biL648HFgJ7lKwyy4BcDR5NLvB1FelAxWV9gwiphe4bKHnmUreCcc5CQUQQbexnbpUIJMIzsFy4kmo0xbV7hQsDr0Fm8PAbBZgcBMzp2NlHMHCbGHk0geqp3gcYxthU+jPvrCixiWDIdq4WLcu8Z3Nu7UTWGSNTfVQ== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB405; 20:8+oyuXtZ/itM+skHW3tMiJDudQRcm902LK6QJhqxABPi4DVicZpCthUZOPkM1tWReLCEdlW/YN5f9Qc5sTxesWt4N44+ppsAgtp9iPy/tk1IIln8LJXMgw7MIs4NXYGpwSIojKJbYBdblxQfn5j2lc0QDereYBCEdMBeAX2s/WifqEPFN8gylAhEVcGihdCqUEjbVl3q0pJ1zuq7NjYaUQWe1EqbSTYXBCTRApNZi/qpcr9ce0hd9NawOLY78M7ADkXPjc7oO8DP/ys9p69tfhwVdAhZtrxOF811ChVvJzH2ED0kTJrndYe+S9xXKQ/qqZ/ilnCfkMIv0+cGGoa9YcH48YvbIRKEfMphgSIlBmr44T8UQR+/OY6uANQLb6e2QqZO8VU65jvos5zWsOPhJd8ZxmIxU4iZqwj+ZHFRT2S5Im4zrGK8OlitXLds9Tc6dczUEX58HPSS1E3J7F/IyURyumStbJBy+bCTjkyp+XGkALEvknSwpXbl0GITau3W X-Microsoft-Antispam-PRVS: <BN1PR04MB405852D50B5CC7F143FED8B811B0@BN1PR04MB405.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13016025)(5005006)(8121501046)(13018025)(10201501046)(3002001)(93006095)(93004095)(6055026)(6041248)(20161123564025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(6072148); SRVR:BN1PR04MB405; BCL:0; PCL:0; RULEID:; SRVR:BN1PR04MB405; X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB405; 4:S0HA5HIzrVzK9P6NT2vpiMCm9+4cWDF10+esq4E1Upp0RZykmrngabVMZDdweTNw7v/RJ4cTTJuq/kR7pRATddVluO0Helyv6n7r+DJkX9SozuS1MTC7L2YgSYBxzfUZk9lbdpaXaROMiDcLmh5nFpEkvWlgJvs3NuZoQ3UADmNH4UILsF1bNcinOfg5JL76DyTdw8mtSaOTkz03frlDbckv/nSOn/Wc0Y2KYcZvy7M9ofj12db2WG1VD9r9yyeGFuASqu3qSQmjynQLhZ6TUB8e73YYkSQp4/jeyAuAxS2s8mhRp5vIPqZlrf4gg2ZhI6Yg+75ateDUfZgDJLYxp8Peu5iqTaB+dkcDjO7qNAc1IS3MuhTswBjtoBHWwbTTaZAiro4pG6fNgKO/OqExtS37sS/h6Dj13+Cbn2Ycoy/nxooCgA90TSavdTmRf8J6zS66fUolsDiSeQ9z5SY0SmpEep0pfycHe4xk3adKCZCUn09oM59K+g3oH0KrM4zF095yXsUI0e4Y3SW6J237WQIMLgbWAe9ovvpP+Vn78Z8FR4GWq1hwziiDuTCuXaaI0JHVO+pzkZnQRR/TFH5o57OzI/mYki7OLGgRKWVV42nHhq8b7T4LBbnSz+Drn/drC6tidU+yl7p2KuoHlfkp2uc2n6TPmacJleVcu0SlmRUi+hcn0ePzxytCuq5zL30Qk4ibuoUVHnHWWxrvMBM+qH0Xf0RGIy9kct24Fhb+DzgvexpnC0zZUYHtpOGN12jczk7v3DZtvqWFfVZG9N0yxK91YTWhlnchbPKwL3TmA9iwnGTr+9xruiFzMpqa0npm81ZfJZXCYzE82aSz/t7EH0ZorbVu9tnIK2wqn5vF70w= X-Forefront-PRVS: 02830F0362 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR04MB405; 23:r/ugwB2LkdmJR6YVyEsm1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13y6sXgSvLLqQXDyDePLdZ1a0PJ47E4rAzBt/q/cnZEKcBZPXogfp5NE?= =?us-ascii?Q?abjk+70+ZF4mLEmvXDODiJTDRp/Ho5QIaFtd9xeEKaNaN2+WpWKWy8Do+zQJ?= =?us-ascii?Q?g=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB405; 6:d+HWB6auUmVNxmarJj3DHaY2E2GopI2lvPrqgv7PV23WIooHQzzlVY6GR19UngaJcRjZEXb9NfZmkKSNN/4pygb/vy/70zNTJDonFPVzD4snEOeK7GW8E9kcYDrL955rjqcf9Fu2YqFHxRuj1giccOOJz3fT1hRv98O9p3gsvkqFsaf+rJ13ciAjpdN7SBgEJ31zkpAqiB1aFsNnJE3/7C8j3v0GwvGEe1buD9VFuWegdl1axoneS9SYvEAj0w2H5ldBoc6/+tov2yrkPSmmcOAwnABDTPwG27CzWE7QjIDWpZaseynhmhPsKaZtn33AbH9oazLXNoYuPZvoGqqQCSy7D8w3BIbj8kBdIMT8W7b+Udw8H0L/IJ3lBJ1OezjX7slFH2i/V401od6SNte3Nxsvsih303W2nr1RXGwaRXFGPN+1kF2/pFPVbzK++xtXYaiUbiX0ofTMZ3VYOfMYAQ+Wk8sDBEHaw6SX6KteZt8=; 5:b6w4IUlFQANxCd1Qi7LQh7E3j4inUz5ATZjQNLDDGNEmSKkYZEXy1IyfiKH47KFQZ0iRvWpgBGNBs4C1TJzGXtznPdVeZlppbYKmnDCFaps2nUJSQT/m5KXKMIWghJKfkL/JWPPtV9i10hGNpXQCQA==; 24:JWfjN/OwVbu0cxgM1Ron9IQf94AhHfqeu72J8K24RtR87wJa5D3YPOrjSHiUIZIigrEqj5FScNo9TC77Au5PUxOAM6qfv2XMVjfYUnEvQJk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB405; 7:tfkhp4LY2bi7slc6+d5QnMZD139j2o68guGeLdNDp43Rpi3E436NFY5BHxdfD9jqrEteJFRgYM8WDQGfe1Y4kkLrJXNj4IIeYqtb0S25/dTMuQ7yXa5jZiSSiMXC1BDtnUowLQCOhc37TO8hAXuS74PABOFocDmryl4371eIkPdCDeKvSP68OsapF+Iq0m4Y42Y37SNCmh0s6VSMGmtscSOs6DvyILuEM9CHTnmJqCLfjCeNTCDOPHCXQBjqBxnuQyz5UAMy/mkDeyEVZzZrRrLMPUC4qzud9XCpoI8PwFv9SB96SHQe3nVbYG+BkLdB8m++u0f/KTpw7mRdP4kHAg==; 20:La73qSDNQLq6r5wna5FdD0DlQCEGJ1sMhpdO6BydQeI7HtM92Zjxqu0K6naTw7TH+SrOFXRAfWpMLhXJMkaZsYcacZsVx6YscGvbQDjIU+474bUwBWEtcY/KytPUq6jcoKijiwZawLzZLkrRQGnppPRa/LwG3neW8tTvkouv2q4= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2017 23:25:25.0679 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR04MB405 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 |
On 04/20/2017 05:25 PM, Bart Van Assche wrote: > commit c13660a08c8b ("blk-mq-sched: change ->dispatch_requests() > to ->dispatch_request()") removed the last user of this function. > Hence also remove the function itself. Thanks Bart, added.
diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c index 9e3c0f92851b..e79e9f18d7c2 100644 --- a/block/blk-mq-sched.c +++ b/block/blk-mq-sched.c @@ -190,22 +190,6 @@ void blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx) } } -void blk_mq_sched_move_to_dispatch(struct blk_mq_hw_ctx *hctx, - struct list_head *rq_list, - struct request *(*get_rq)(struct blk_mq_hw_ctx *)) -{ - do { - struct request *rq; - - rq = get_rq(hctx); - if (!rq) - break; - - list_add_tail(&rq->queuelist, rq_list); - } while (1); -} -EXPORT_SYMBOL_GPL(blk_mq_sched_move_to_dispatch); - bool blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio, struct request **merged_request) { diff --git a/block/blk-mq-sched.h b/block/blk-mq-sched.h index 120c6abc37cc..edafb5383b7b 100644 --- a/block/blk-mq-sched.h +++ b/block/blk-mq-sched.h @@ -24,9 +24,6 @@ void blk_mq_sched_insert_requests(struct request_queue *q, struct list_head *list, bool run_queue_async); void blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx); -void blk_mq_sched_move_to_dispatch(struct blk_mq_hw_ctx *hctx, - struct list_head *rq_list, - struct request *(*get_rq)(struct blk_mq_hw_ctx *)); int blk_mq_init_sched(struct request_queue *q, struct elevator_type *e); void blk_mq_exit_sched(struct request_queue *q, struct elevator_queue *e);
commit c13660a08c8b ("blk-mq-sched: change ->dispatch_requests() to ->dispatch_request()") removed the last user of this function. Hence also remove the function itself. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Omar Sandoval <osandov@fb.com> Cc: Hannes Reinecke <hare@suse.com> --- block/blk-mq-sched.c | 16 ---------------- block/blk-mq-sched.h | 3 --- 2 files changed, 19 deletions(-)