From patchwork Thu Jun 1 15:55:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9760019 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 7ECD1602BF for ; Thu, 1 Jun 2017 15:55:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71F2A284F8 for ; Thu, 1 Jun 2017 15:55:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 669F8284FC; Thu, 1 Jun 2017 15:55:41 +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 D063D284F8 for ; Thu, 1 Jun 2017 15:55:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751847AbdFAPzj (ORCPT ); Thu, 1 Jun 2017 11:55:39 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:8040 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767AbdFAPzg (ORCPT ); Thu, 1 Jun 2017 11:55:36 -0400 X-IronPort-AV: E=Sophos;i="5.39,280,1493654400"; d="scan'208";a="21999951" Received: from mail-sn1nam01lp0120.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) ([207.46.163.120]) by ob1.hgst.iphmx.com with ESMTP; 01 Jun 2017 23:55:20 +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=EnU1rKpmDX0s5mo2LQ+OcD+taCj3rVjEm4/XpMawnOg=; b=kukkgTbR4HLrZBpxTWAZO1RyljHBLanS+97I0dh+ywJSOg9LFgEe7D3XlD4Tn6SKRKfHB1B+NNfJ9yVBJ8Nf3BxeBMCYBQBZgTgGljVAPCza1dxPZ+oZyQkjL7eWO45ozkxxJE/vo3EbzekzcQYKN4yrfovWcSJ9f1e9yidW9eY= Received: from CO2PR04CA0090.namprd04.prod.outlook.com (10.165.94.144) by CY4PR04MB0392.namprd04.prod.outlook.com (10.173.188.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Thu, 1 Jun 2017 15:55:18 +0000 Received: from SN1NAM04FT011.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::208) by CO2PR04CA0090.outlook.office365.com (2603:10b6:104:6::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Thu, 1 Jun 2017 15:55:17 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; suse.com; dkim=none (message not signed) header.d=none;suse.com; 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 SN1NAM04FT011.mail.protection.outlook.com (10.152.88.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1101.12 via Frontend Transport; Thu, 1 Jun 2017 15:55:16 +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 60.84.38445.4E830395; Thu, 1 Jun 2017 08:55:16 -0700 (PDT) Received: from milsmgip11.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; Thu, 1 Jun 2017 08:55:14 -0700 X-AuditID: 0ac94371-422569800000962d-3b-593038e467a7 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 26.7C.11415.2E830395; Thu, 1 Jun 2017 08:55:14 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Christoph Hellwig , "Bart Van Assche" , Hannes Reinecke , "Omar Sandoval" Subject: [PATCH v3 4/4] blk-mq-debugfs: Add 'kick' operation Date: Thu, 1 Jun 2017 08:55:13 -0700 Message-ID: <20170601155513.26712-5-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170601155513.26712-1-bart.vanassche@sandisk.com> References: <20170601155513.26712-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsXCddJ5ke4TC4NIg7e7DSxW3+1ns1jwZi+b xcrVR5ks9t7Stjh87yqLA6vHxOZ37B6Xz5Z67L7ZwOaxfstVFo/Pm+QCWKO4bFJSczLLUov0 7RK4Mo7seMNesISz4s6Oh0wNjNfYuxg5OSQETCSeH93P2MXIxSEksJRJYt+XDewQzlZGiXMT XrJ1MXKAVS3+KwkR38wosaZnCiNIN5uAkcS39zNZQGwRAQWJnt8r2UCKmAW2MEpc2LoarEhY wEbi0vGlbCA2i4CKxKG+x0wgNq+AvUTX7EOMEGfIS5zdspMZxOYUcJDYcHwaWFwIqKbt3ydm kKESAtNYJZob1rNBNAtKnJz5BGw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HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39850400002)(39860400002)(39450400003)(39840400002)(39400400002)(2980300002)(438002)(199003)(189002)(9170700003)(81166006)(189998001)(1076002)(2906002)(33646002)(50226002)(76176999)(8676002)(8936002)(47776003)(50986999)(38730400002)(36756003)(50466002)(110136004)(575784001)(106466001)(86362001)(2950100002)(6916009)(72206003)(478600001)(356003)(4326008)(48376002)(5660300001)(54906002)(77096006)(53936002)(305945005)(5003940100001)(230783001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR04MB0392; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT011; 1:xkCtqEGgL8swZamsEibglA1BbN9DKx8FotLdW/4dKpsmsdGYNUwo0zoP+frKebVv7VZKBcp5thCUZ/d+FrTy+tH4v+lmfGSuw03N8fiy7HaNaPg6TNkFpAm31irewR3ROl26qOxr+eq8Ry5SfOYxogLVqmj15/5/xsv3va5jkJv5jur/4wkE61eKpK0bNMHf9AZ9C+4u9dWJQnbUvGAqEUxgGKV+f098HJTETdm/AWd1oaETTNsFnY4ZwRnl9/DMk7QsuUAgk2Wd2dCNz9gbk06Ip4Vrm8fqVQMQZ6V9x1izCCXqNWEZJQGhcVXBfSKEixfcEtOdsVFYkTST1rnwlfR6wSk/JWw0Lj1QuMVZb49pXrCZSq3Ma3hfTSOVDDSHaAYYtPlARSurf6D+eZAblMmz0R4cSJvQR0l9U3S0CgvdDRu6qrVdCVSong457gLqFTmedyaWSGErTSEUEAvx5+ZnNpQZjTnql85ky+BPBugdvIPyJP8l75t0oAiAMzzakClMJceGu6v7aOwHM7cgmAoMFgZUZs/kZZfPtLQCqQtM7TNHhGicTN9ay0xw9rL9HOKb2ZlctyaqhG7h93Q9dA== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR04MB0392: X-MS-Office365-Filtering-Correlation-Id: b15fbe5e-365e-4581-e49c-08d4a9069956 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CY4PR04MB0392; X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0392; 3:luM8Uii5ZfI7nMNJ3NYdcHHQ6Ynqwr9DdU8JGvRcIfV7fvJ0lwZtt4+6kx+96aGNIp0z7nHD30UYNk2v0Dbisl7wToOMhdJ085ezCBJ6VT6Rnw62VcmEmq7HEwzusdCKnniVwU5ks9FDaNODEQPa+G8DKX0Mmm1Qk29n2Y0B0TCPRPFGkSN6WD4x35HhzYxxnmqsoquQ4D9hDRZqqMjXl1JmCePyuHJv+NnEUilPOzwfzhAHjjzFAp7VTgMYJjhVwrny/SkbTKrhsdHL6dFJrmBlLa438Imv0x8i2vZnNXNZGxwhw+moaQFp6roPzKQlQiOaxPkogLpHCbr7jZAoc4k3w3/L/Wcfk5z3La0d+HHjpHDY0bjeXwXVug+vQO2NaRcIpm4UFTzEPjR6h0tWJ4BboCLYN5yMLzUz74DD5hkH/+6ZUkB2tp0XNQONuc7rb3uaOL0dbtwWCF6vl3WzAcKfyit4vhN+CuJYjED4+qLIqoUjok2U1qeu1fBHjgLq X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0392; 25:TADBMH92jHGJwAIr5YtLCFx4yKviXGtxqoXwLBc38uVnxoXMnTjnyaBWD4KN0zpmwzh4zoZ2dtJ+bhk92b+gD8ZateXjKgvWGP1lTfimiiM8p4g9bnEMjkh3buNSF1CYQYRIkQbzKjsaFYGr4feBznU08DaW9sFFeQ/HTAb0K9Kv5jJIoGedLJ7+nz6h+Z3Bu254Jb7d+jWHG3wt6Z+sEtclieRYl6J0sdAJTLfbPLNO32yb2jqLKGZU7MvZD2cpnOZ7GkXPorTAYs08WgkI7Ow0wwNOx+iO8wTpX6a8O5wHOpjiHlf1TzOIgwQQOukKIHpI7Gw0OP2EdvDoHbpkW4otuYBl9dKsDCkyIQqlCPPkdcDb4WlCnHXoiqbGb5GqBZRazdu1hn440JWH5kAsg+F3BI9wyOZLNUbSKi00UWjpnlm/Z0dXeM0J2M7XEJLiQT4RsNawhIRW4cm+oN0e/lnwTXlWrFc37sjRAYw/Twc=; 31:u9kM6l0Zci+OadXYLviI4iMsDfQ44TpXHw6a8TPF0tzagl4+o43Ps/oIkqM3r4Cuj13KWGsGYq/r3F074tstweeX1o/9idRbCtYg3FZEMtk+vVfZtVhF8wCoHr1H2vRi8ryRK1w0KYVEXMHjzWGevl6mOSiKk39GunygFdnv9YUvtZFlWKLqgNkM92rogaH2ZBCUmqIPQlc/xdCmExHJfTumNkPzVhNk8ESMdliQjQX1meXk+Qri3W+zAEhLjquY WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0392; 20:IZEkNLpA3NUzar55XJNsg9BSx2g7sB8P33X2Vla3fUxnGIDy5VCXNizeVK4PZuQaPtFIZahmC1FwScXN/5R9Kkpxf5MGEYwH3sRQmEkYbE749V4cGX4H8mn8nZ3f13WgqHEltVCW5GYlwKrPcNFXo0j7YATp+P3AHZlRhwppTjEr/eY4NaX+oAYCzQre9VgEey16SyG5MLVhTZTa0AVxtZPv3r+2iNTVm8SSbvo/Gr+feMQNBHKMoSL0IhkuOysBa87UtZwYhRs9YIIKaR/0qbdvafPfXvFcFQo+650T5540lJCiQPj8EwNaxOdNbSvCk2P5/ezq8Cli4iy0/1tn1CpTkLYqYlddPXc89TLqfQ/jwj5lwfhyu9jCXtRK10n6CdpuCuZ+z59yY6RDtFnSIlibd8Xj5kkpVBxAcRDGDmrXM6Q97GDj/v414NVhbgHtllQAtjFeEGUTMl/dIcTRJjx9uFPrT+DDrM4FWuiez122mo5GP6D1OJbyHRMJb6rj X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(13018025)(5005006)(13016025)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93004095)(6055026)(6041248)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR04MB0392; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR04MB0392; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR04MB0392; 4:THVOjAapAw7h5esr2abmB/C8SB/6Z6wWnCQzlsm3Xx?= =?us-ascii?Q?fK5jTnUxmc7/eZ+5oELN29SEkqSTHJD79tXu7yjgqGuLMwUsI+f/m2zoz0cq?= =?us-ascii?Q?WoyGoBxcLVR9MT0AGcmS6FeQntHEEHKaTMG+jD/pklJkaeWlSzILVB8UJwqi?= =?us-ascii?Q?kmBaIGN2vz/8/61LYja19qW0A7Dppj6ha5G6Psy539vQM4RJhlIWzTzs3xQ1?= =?us-ascii?Q?+/gW62SeYscmiqSd5HaY4ex5Fbq8OaYqMNKwGCd+/2r1kajSQWWg1c3E7lrq?= =?us-ascii?Q?dT77AH211EO2MdN0ZTXHvwhArfoJdvYTaEu37aDJcWgxUIYqBHM5B/dbsNmC?= =?us-ascii?Q?Ojkw2/UaSRsYJy8b9zkLpQjFOhm6M/Uwhjtdd1buj1FqBhtmzLj6Y4TosS9T?= =?us-ascii?Q?BB2caA+QuvpjJOZzJ5qyOiZbP7IhQB4vpq3C7z6JHmqf9XW6zVfifGPzemLD?= =?us-ascii?Q?3VHzNtQkSxXx5qlMs8FPiceDWGgePuRsibhI2qI1YxBY4jGNJGEAenv68o7c?= =?us-ascii?Q?y+c6iRAlR67cF+rQfehuOXhihl0H79XuRXBamZkCv6TClPq6562pUrC/xQyF?= =?us-ascii?Q?NDrUd27tgDywhN6LPbzJ0j+pVt8bZkJoyKzudsq6jCPMihdm2crQAa/DEKBS?= =?us-ascii?Q?eFIA4lbAF3vrjZ1ELBkVP4I+k3kHFg3sl3okFI2OKRvRcrbmj2JABsvwLI4l?= =?us-ascii?Q?VovREC3yzfL9SzDg0/uw3OXJBaq2nbWdHwOVqLaZP2y1jpaysuMok/dDW4Dk?= =?us-ascii?Q?34bGyw0yCqMPzjPgP6obO7BFN74MiXTAgAQmpodcrKk5zFh7GpC5rCKCe5p0?= =?us-ascii?Q?vtRfBmwM/3S6g9cG6fOPiGIXVKf1j+ASYSfaC29Vjrxypgl49OrpqExWPn9I?= =?us-ascii?Q?Nc2qcWk2LwZrjBu0zSlER/oiXWcct2BM2Ittso3mpYmDdxeKRY/7Ebh61LhD?= =?us-ascii?Q?A/Xt0ZxaxQENgD6mbAgzad/b6ScLlSnKxyhJvX3qzpd0J3D2N0q+Eu0id6mg?= =?us-ascii?Q?Aydi+u7+TU3+wuFM3SgI8mnsac5IUSIObgfWqImByLOua7x/E6Eyj/2kxLYv?= =?us-ascii?Q?Eu/PyzUBMGlyAKtTMUQkVXhvcl91+AN0rA/sMmhoBKPPV1QU5mfWQNrmQKqD?= =?us-ascii?Q?jRCkPPzGHcIsc04gIDELLToYYJJOCMvt/x8PAxUcLH73B4AK5D4PvlIYmcJI?= =?us-ascii?Q?cPqYJKKKcPVdyj8IqLyyDi72DL/eurOX8z8BuUtdLH0M2n4Pg9QKEPg2Lq5C?= =?us-ascii?Q?cCi8fL3cyDKtaY2qcTpWHRtzoeBdBCd6Dg/lZu?= X-Forefront-PRVS: 0325F6C77B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR04MB0392; 23:KRW5sl46DIajP8d09Su33MJKHLN8YtFLIwasNVAGO?= =?us-ascii?Q?1zx2x65yf8E20XkZ6zKQDPr1IS0eS56eRiS0q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b7Hs3TBtNGGkyUmJFkOAOoDo3vVV6WqCGDSz+Oe31SSS0sU+w2Ij8H3Mx2Zzb8Xoc/W88u22ewrvGU4gTG0AUxeqCIO9Kta1kgc9bcBwlIGzu+Lss7DkNkODSZ2E2S+Bfjgb7DhgFNALU7FE56Ln7Z2E48BLBJXl4KuoJtiwjOMRJEVY5Ywohktfa2Yzc7b8hsl3lyd+K8Af1cfM0C4zFAitsmC2bF3YVNYdrnzdsdB4Oe24PPIuhbiCPp3Ta40SFUg4vBA; 24:HPchOayZpzUTXA/rsjqLTbxgnsHefV3/sLvqrnk4rKH/3W8mqQ349aVb+GIC0IXiI0jjc3gkwtJsJi0wW1QaLcbs3r8tRc6Wt5OC+XgA0rE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0392; 7:fqQl1xP869V0lW2WcoPUSwDcup/G2sCqJBfD8A1uPfu8C15ZcunhdGxvg2KSHuf2cpHZ53R0Ko/ZrJSg5FQ98NW4He0kbl/m1TK2LujyuihpvPJgDPHqzH1Zy3C0n3owFYOh7eITQEsH4sTEgmv+HzErIPAjYbDauZEO8QBAdl6reJTqwovvv5neSzU181FtStfiREiXLmpV1iDVK9T15+g4I12FjePNINifRBs+YL/nBXXuyJ0LYxE+pj9yRWaiUFRtQ77e60rIV+pLeKY2qHOqKTlkZjfebtIE3vHrbEYpi1Q0+D+9N+dyveSNPL/p1RvfpnqqwuyYBiCEspEP7g==; 20:5bubIWrBz1nkRqHKc1Tjxlm8gXYsr1uc33elksdFX3aQsjRIz9MOtzZYFmbjVZU/L59PHgKPZ5Ai0nKZzzhQcA18cxQ48+39RLdGf6vXHO8YyR4HP0JMxIYQ1LN6hVGiwNKvE2/75JsgUizRJAD9+c7QsBtdYCXqe+a1bf5sUx8= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2017 15:55:16.9057 (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: CY4PR04MB0392 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Running a queue causes the block layer to examine the per-CPU and hw queues but not the requeue list. Hence add a 'kick' operation that also examines the requeue list. Signed-off-by: Bart Van Assche Reviewed-by: Ming Lei Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Omar Sandoval --- block/blk-mq-debugfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 90c454bbaf92..9edebbdce0bd 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -114,10 +114,12 @@ static ssize_t queue_state_write(void *data, const char __user *buf, blk_mq_run_hw_queues(q, true); } else if (strcmp(op, "start") == 0) { blk_mq_start_stopped_hw_queues(q, true); + } else if (strcmp(op, "kick") == 0) { + blk_mq_kick_requeue_list(q); } else { pr_err("%s: unsupported operation '%s'\n", __func__, op); inval: - pr_err("%s: use either 'run' or 'start'\n", __func__); + pr_err("%s: use 'run', 'start' or 'kick'\n", __func__); return -EINVAL; } return count;