Message ID | 20170501155849.5134-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 13E36602B5 for <patchwork-linux-block@patchwork.kernel.org>; Mon, 1 May 2017 15:59:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F25E627C0B for <patchwork-linux-block@patchwork.kernel.org>; Mon, 1 May 2017 15:59:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3EAF28066; Mon, 1 May 2017 15:59:09 +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 2745727C0B for <patchwork-linux-block@patchwork.kernel.org>; Mon, 1 May 2017 15:59:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758423AbdEAP7I (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Mon, 1 May 2017 11:59:08 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:39610 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758421AbdEAP7C (ORCPT <rfc822; linux-block@vger.kernel.org>); Mon, 1 May 2017 11:59:02 -0400 X-IronPort-AV: E=Sophos;i="5.37,401,1488816000"; d="scan'208";a="14479715" Received: from mail-sn1nam02lp0024.outbound.protection.outlook.com (HELO NAM02-SN1-obe.outbound.protection.outlook.com) ([216.32.180.24]) by ob1.hgst.iphmx.com with ESMTP; 01 May 2017 23:59:01 +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=JHh9SwVFn/5Xb1/EbJoOrsOVvDTYLuYtgHYvWp3JRR8=; b=OIxmwctIDcO6tThyKfpQvAgrvDcsV1yR6eEcGzNApSNLmUmzXl1tgsJCnZ3Ah83BTtxO8mXvU1Ej+yDwjJuiwuO4fkOgNhIZDNp8T+UQ4SmnoKe8s00ToOBbARn/dmC2ewcagiVVlQonWrCTUCbdmoMY40DimWSGim1i/kV2U/A= Received: from BLUPR0401CA0028.namprd04.prod.outlook.com (10.162.114.166) by BLUPR0401MB1539.namprd04.prod.outlook.com (10.163.83.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Mon, 1 May 2017 15:58:56 +0000 Received: from CO1NAM04FT059.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::203) by BLUPR0401CA0028.outlook.office365.com (2a01:111:e400:525a::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12 via Frontend Transport; Mon, 1 May 2017 15:58:57 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; lst.de; dkim=none (message not signed) header.d=none;lst.de; 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 CO1NAM04FT059.mail.protection.outlook.com (10.152.91.193) 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; Mon, 1 May 2017 15:58:55 +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 93.A4.29323.C3B57095; Mon, 1 May 2017 08:58:54 -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; Mon, 1 May 2017 08:58:52 -0700 X-AuditID: 0ac94369-1d7ff7000000728b-3f-59075b3ca37f Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 5A.3A.11415.93B57095; Mon, 1 May 2017 08:58:52 -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>, Christoph Hellwig <hch@lst.de>, "Markus Trippelsdorf" <markus@trippelsdorf.de> Subject: [PATCH] block: Remove elevator_change() Date: Mon, 1 May 2017 08:58:49 -0700 Message-ID: <20170501155849.5134-1-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDLMWRmVeSWpSXmKPExsXCddJ5ka5dNHukwakzBhar7/azWaxcfZTJ Yu8tbYv//28zObB4XD5b6rH7ZgObR/+uC0wenzfJBbBEcdmkpOZklqUW6dslcGWcOnmfpeAH b8WaFq4GxifcXYwcHBICJhIf79t2MXJxCAksZZKY+GstM4SzlVHiyMZFjF2MnGBFsxvXs0Mk NjNKPDl7ggUkwSZgJPHt/UwwW0RAQaLn90o2kCJmgYWMEusWbmcHSQgLGEg823sXzGYRUJE4 sPArWAOvgJ3ErrmTWCE2yEuc3bITbLWEwHMWiXvbDjBCFAlKnJz5BKyBWUBC4uCLF8wgtpCA usTJJfOZJjAKzEJSNgtJ2QJGplWMYrmZOcW56akFhqZ6xYl5KZnF2XrJ+bmbGCFhmrmD8e4T 70OMAhyMSjy8DGbskUKsiWXFlbmHGCU4mJVEeH8bAYV4UxIrq1KL8uOLSnNSiw8xSnOwKInz npOZGiEkkJ5YkpqdmlqQWgSTZeLglGpgrE19rhDrrGdUf7JzYZZIjrN4QD5fqz2P27lrLDLS vwUmWQueuuvELuHHY70h1OFy5iNZpqkfpDlubNrqvmPW5nelDht/Vv1901NWyf+jRnzVKU4H Ea2GjMPfxLdyGRhuV18QuXZ2+eu4urSNhdvFvr4tE+GM+Cf17e0bMfnmVqVXFTy/j4QrsRRn JBpqMRcVJwIAF4POpU8CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkuLIzCtJLcpLzFFi42Lh2siRomsTzR5psLtT0GL13X42i4M/2xgt Vq4+ymSx95a2xf//t5kcWD0uny312H2zgc1j2przTB79uy4weXzeJBfAGsVlk5Kak1mWWqRv l8CVcerkfZaCH7wVa1q4GhifcHcxcnJICJhIzG5cz97FyMUhJLCRUeLjiSnMIAk2ASOJb+9n soDYIgIKEj2/V7KBFDELLGSUODCpHaxIWMBA4tneu+wgNouAqsSsox/YQGxeATuJ+/d7GSE2 yEuc3bKTeQIj5wJGhlWMYrmZOcW56ZkFhoZ6xYl5KZnF2XrJ+bmbGMH+5Yzcwfh0ovkhRiYO TqkGxvkTLux9aZmbUi9elFNSvfBi0/uJ85xsNl9buHzfLE5r5bdcO7KOSvVst8hcemB1SGfa Srk+1resJh8Sdq/6EN/XM9MyZdHtXRMs8vxjfGZMtTS69LIlzcVM/5nV4e+Sd99bdnKot5Rp s6Ufqs963rXk6PL8y095v6Zvfxq0Q3LHDUah56nfDJVYijMSDbWYi4oTASlPun2fAQAA 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)(39860400002)(39840400002)(39450400003)(39400400002)(39410400002)(39850400002)(2980300002)(438002)(189002)(199003)(9170700003)(33646002)(50466002)(47776003)(189998001)(305945005)(2906002)(1076002)(508600001)(53936002)(6916009)(48376002)(106466001)(38730400002)(6666003)(110136004)(5660300001)(54906002)(356003)(8936002)(50226002)(4326008)(77096006)(8676002)(81166006)(50986999)(86362001)(36756003)(575784001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0401MB1539; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT059; 1:N1lD6trbUY5Ppb+Dx3FKu03VXYR4Ql51PCd5jBRWKuFeU5hIH7S6ZEQGAFW3PjNtnQBtKnflNlgdDOfinsvvEQjV1/+wKtlOTKdhkAUqIovOYvisbc3mQBHdZpUIbtym7lKNaTDVJrx/a/1z+Ir3Ut8YAavuUPfGrP3WxsoLqsmpnohoZ54ttI6gsP2qxtHw0CknBR8OQvEHpfcobvde02uqgTCnbIKmu6fPo3wv0y6NcuvzEG9QaRTzOV5PLMtcDGFr7WuxCbbD5F5Nl9n5CqzkYijuC9axRYQYamXttHPVONbtnUFFppvq5KCR6sHXGoPhdN5GhuMB/3o5vWLqjN8Quu8y4KLn5Ocgp1H/9tnxvjayr+hY2ZhBPtWa19cqCtIbYTxz4+Ljw6gHCimtZZUu9sWGUi4MmvKWKQOk5tYLkp8VZAT0TjEstkhwmVvMw5xY329DV2DXBGhHCa5X5RCnrJesKQJH8QDNtRHxrOIdOiefMtCsQ6by+92jp0VWbfgnmwWq/OZLZOuZrFwfmN1SnO2pZyn5ZO8ivZnzNi0= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c98588e8-f5f0-4736-a2d1-08d490aaf90d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BLUPR0401MB1539; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1539; 3:M/cPg/YhHSCrlvOJvKEktYwoGjXN2YDjnMiA6wwoWqP+gVgNDOyfZnvqJbpN70ilnouO8tLXgPGUXGRxUzzrJpTVlrNup53Sd4fX0WvDYS5h6Zkwj+CV7nHYkMshPoQkCbhgiQvnu9Zm+ThsxBk4eRBv/EchwPAoD4yk+IbKAOps6LCRkQlANDuK8+3+uR2D5jTqbOZ4X2Jj5sAJmDoP8iSeN+qrpgOrP61qCr/dOTnQu4e7nygRqmlZm7/Ohz4u4K6nq/qfl/PI6PbBWH2kaIMJlga1zXtySxm15mEehFjPSNBTusu7F6CtUAWnnmb4pUIrGANAg80tn5ZG/7bQ4VQeGFDCYCWfyzWU7JcL+EIOrpWy9oPVjhSMFSQC/wusFt116zb85l6HdKkTQdtlgYWWvI9pLdZxj2GIHSMsEp3hmUfFmHMal6r9sWO2yLJblpgg/YFL5aice+r7R03lZgh41GLT+HxlA4dLZlGtSynK9GhA/x6282phi33XmFxI X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1539; 25:vFgIDhTXw640s1mbzZCIF+k6+MDWwJu85ln1NL3BH530xqkwBwOEFsODXiOgLtUHUu85OE8kj8/v1oOyo2eNOoKdQRBh5vKEMBLHcmdeeSY/gtE3BNa6i4f66FO8DY75YmQbKxsCZF5IPPfQTC/n3vJSXrT4el0VEF3Sa7MNzVWEeJ3Z1814PueTlBSzNex1tYYSxrZ5hlDQpnHUXWmY4clWN0RtnWyKtX8qvaEIF4VrDUz9N+/gadQryw3p7senVMkkYpj9D8reAM6c8T9pXuapd0Hdk84qWY/YJWT1b7ENau3uw37yjH8UN8oVbX913O75qD68RbiD0Y5cJuY9RAxqnAmwf/3MP7TNDoCXVqbwJb02yPMN4noQmgEDmuWJ2k7mDo42jH2079/TGm9HKI6avxmBJgix/9lkDrLiH2saCjKTKhEsno8WdKn9VSVTBQhLQHmvmPfATrHhSlD6rQ==; 31:4c6iHxoLorOL99HBg1/kGVHWUfvkzsPKI2lHuNdbN08bA58p5s5s9TOWR3RXZSGmPvZ2+gm4DpKpeGadyU3I2QzI5qCEk6hDbT7odli8i9WmJe73aJl9ejlaIuiymRFclwPK3qZI6claqG184jTGqUGdzC+uV+kcrM49LNrCUedIPxZWt8Tt8NzhTejZUV3Zpn3dKrYiTxnzR+htjY4eDxS0zPpHNRdc4jEv/GGULqv33QSkIUzbuG8nzhn6gyeY9+4AwzyRniPvHVGRN3sX+0D/XW80H5zrxt7MWNxOpW0= WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1539; 20:hyEninN6XUgNHqcth1SkDLHQzraNpIYiCKBrIXo8bh+9G/fX45619/UgGDMqVCPCGMHDtfwn98zHGW6QwxdNQZ8XOI5zRHVY4TZOx1dqdJkHbdpIeNQYCJN+h/eaAcCispT5kda9Cbavw55SyBOO3PULA72kerIr2PGXokAoFluu1tg8T6fF2mL+eZAq2XBqw3FSDz86peHfv2+N/HtEVCOFaV52TMREWrqDi4CMEFoXviRmUPMxI+PGva7oJAWzbkqgpQ1x2BKXIk5YdOs6XlgeyiU2ZFt2ZqKsfQ2pn3paWy0p/Uy0KlIudj2Adf21psLLUdmmav0AXEgWeuG0eKQVigKm+B3s7G9VKP4kf+COEscW3kYgPVDOx1M1ADkNspjg8Lf4XOjrAoPepVSF5Bxy5oM3lPWOhQQU7zYjrv72ChSfdJsnWapGryClijMhJX1jgEDG7E69UPsMGbuZZYd7QTrInBAJyllqjMHJN6bRFWqqI4pXcdaAo+AaY1GP X-Microsoft-Antispam-PRVS: <BLUPR0401MB15392095AA670896C27D0E9D81140@BLUPR0401MB1539.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BLUPR0401MB1539; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0401MB1539; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1539; 4:MeYEb/UGxf2BxvQ8uQ0f3hO4MrSE1/ky2Z+lYeHPqhOqfawoPt6QpDOMNt0K+g++CRahwpa6sAq6gFsjOkpb3p2AX0pgMkLK6T2h7jDBFCbioUVHl2NbDjI0f0krBjBMzRaqYMWAkSkkCPtV1oWyWZHFouEC4ex/+Y81PhOhSCkUHweK2ZwZKfE7d8UqgZxsy7zHy0CQiW8H2VnvrvUQjIZcVjvXdh1mShHX9maCf6fJJuFS2Xz6ZObdg+9zVpLGgOC3aGMDX7Z77ewgB5o8PI1gawuEfPggaSeXl3ijdLB3bTC4gQdRKXviVHkRULv2cTaej9Ng1Jj3XWJ0kuu1TKJbpwHZevpJAXV0BtAIVYLgLh2/CkI811RgXlsBZ37fYYym+fFD1S4z/R4F9oP3d/9ENIz205usp14iSCWAamA+07GQTKeZyRgvV40cXyHCZWj2KaHwPjJXKC5n3ejfxff6XhygTa56Fv1bmZK9IW2pHCTIvMAiCEaBqHw0TZW3pNZqOzWuvXi8NYdClU+XM7bvjscP8N9SzQAVMSBUHrQ7Q+o+TlxugOOWp9GBXz6YZfh+ikGkZugb6nnTpdsPPfrW/o/rhQHvUucR8LfAbdtmWZqj3jAJtYfAZpud4oTHFj4Y2kgOlLRZ/Obzy0uMJ7K3ZW/3W31DRul0+vbtc1sj9wtzfSCPSl8DHBsVy/EMs/GBhE1YmA0ro13n5BrHcez0aGQQhg3CHJQHQd443WVdP5ynH3U0xcfBFskNwBP+svG1IZdOal2TFab8OgHLvNJff4ZfAFqphl3Pz2e3PH8AEwpXY/YJRoupuQQNDb5D X-Forefront-PRVS: 02945962BD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUP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SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1539; 7:8R2asQvgEbc2IZxvWQJSJjBdor9FQ8yTQ4APHHewvgx392pLzuPj4hIkSnzr0tElPD/hqlBWr8PKQWotL4nfrwY+Ox/MMEu/jvZmX6Muu1LKLRV8rdyZDHMf/LY8AwcgNG7ydoVmUtLNkpUnI2fgPzqddXsEiiAoJVf9EMGSlW/C72RQwEOPpYpu2uSwX+fFjp7vG+wToWV7U6jXm7sKTp00njRLpyyqFWhvm6rn6m199kx/t/v9XtI6AdK+lRpQCmfUwO0FO9WgiugDceyhwEoD+zjXGDOcRso1UFBYDPOtFSa+J1F1f6R5+a5NrccNH3qFZgj2yIeNPTsH9Cym7A==; 20:jueFCB/EUTOKb8xJ+oS1MJOv6hBl0NmUqGiBvnokj9yCNdzVYvoJAPxzqpVYu0g2/rReEE4JQWb47QBRZbtzYCmT5KEpUrFBrolBWRiAEZzI+H8fdoTNq7MYTrgp2uWctjBJtM/fR6uRqMcYcbN0JM1p08n28yqQb2IuwxwQ4gc= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2017 15:58:55.6936 (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: BLUPR0401MB1539 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 05/01/2017 09:58 AM, Bart Van Assche wrote: > Since commit 84253394927c ("remove the mg_disk driver") removed the > only caller of elevator_change(), also remove the elevator_change() > function itself. Nice, thanks Bart. I thought s390 dasd used it as well, but looks like that got killed a while back.
diff --git a/block/elevator.c b/block/elevator.c index c7a4ee682033..ab726a5c0bf6 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -1085,19 +1085,6 @@ static int __elevator_change(struct request_queue *q, const char *name) return elevator_switch(q, e); } -int elevator_change(struct request_queue *q, const char *name) -{ - int ret; - - /* Protect q->elevator from elevator_init() */ - mutex_lock(&q->sysfs_lock); - ret = __elevator_change(q, name); - mutex_unlock(&q->sysfs_lock); - - return ret; -} -EXPORT_SYMBOL(elevator_change); - static inline bool elv_support_iosched(struct request_queue *q) { if (q->mq_ops && q->tag_set && (q->tag_set->flags & diff --git a/include/linux/elevator.h b/include/linux/elevator.h index 3a216318ae73..d44840368ee7 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h @@ -214,7 +214,6 @@ extern ssize_t elv_iosched_store(struct request_queue *, const char *, size_t); extern int elevator_init(struct request_queue *, char *); extern void elevator_exit(struct request_queue *, struct elevator_queue *); -extern int elevator_change(struct request_queue *, const char *); extern bool elv_bio_merge_ok(struct request *, struct bio *); extern struct elevator_queue *elevator_alloc(struct request_queue *, struct elevator_type *);
Since commit 84253394927c ("remove the mg_disk driver") removed the only caller of elevator_change(), also remove the elevator_change() function itself. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Markus Trippelsdorf <markus@trippelsdorf.de> --- block/elevator.c | 13 ------------- include/linux/elevator.h | 1 - 2 files changed, 14 deletions(-)