From patchwork Wed May 31 21:30:50 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: 9758191 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 B9D7360360 for ; Wed, 31 May 2017 21:31:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC628284D4 for ; Wed, 31 May 2017 21:31:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0D43284E3; Wed, 31 May 2017 21:31:10 +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 2FC20284D4 for ; Wed, 31 May 2017 21:31:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751086AbdEaVbJ (ORCPT ); Wed, 31 May 2017 17:31:09 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:37243 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbdEaVbI (ORCPT ); Wed, 31 May 2017 17:31:08 -0400 X-IronPort-AV: E=Sophos;i="5.39,276,1493654400"; d="scan'208";a="21778569" Received: from mail-dm3nam03lp0020.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.20]) by ob1.hgst.iphmx.com with ESMTP; 01 Jun 2017 05:31:07 +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=wty329lAJsOZaecmEUpeQltYhACEnmOXrOBkOaJsdWE=; b=L0P3ExH8V8qK6fq167OyttPrD62IZ0Gvj7mAYJ/oCXJpfWKAqMyq5kAlp4XX1W/r0zlk6midGtkXLXkHC9eDoGZ+BRiEawA2+eyK0znuLci36h4xuH8qS3bJ+iQ6/ByMip5ECEbXdoDG/Vd46zTpYy1CbIj6UXhaNFBpaPnz+hI= Received: from BN6PR04CA0006.namprd04.prod.outlook.com (10.172.194.16) by BN6PR04MB0388.namprd04.prod.outlook.com (10.173.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Wed, 31 May 2017 21:31:02 +0000 Received: from SN1NAM04FT043.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::206) by BN6PR04CA0006.outlook.office365.com (2603:10b6:404:cb::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; Wed, 31 May 2017 21:31:02 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; fb.com; dkim=none (message not signed) header.d=none;fb.com; 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 SN1NAM04FT043.mail.protection.outlook.com (10.152.89.45) 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; Wed, 31 May 2017 21:31:00 +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 93.C1.51736.0163F295; Wed, 31 May 2017 14:30:56 -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; Wed, 31 May 2017 14:30:53 -0700 X-AuditID: 0ac94369-6dc8f9800000ca18-3e-592f3610d851 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id B5.BD.18148.D063F295; Wed, 31 May 2017 14:30:53 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Christoph Hellwig , "Bart Van Assche" , Hannes Reinecke , "Omar Sandoval" , Ming Lei Subject: [PATCH v2 4/4] blk-mq-debugfs: Add 'kick' operation Date: Wed, 31 May 2017 14:30:50 -0700 Message-ID: <20170531213050.30276-5-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170531213050.30276-1-bart.vanassche@sandisk.com> References: <20170531213050.30276-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOLMWRmVeSWpSXmKPExsXCddJ5ka6AmX6kweR9Ohar7/azWSx4s5fN YuXqo0wWe29pWxya3MxkcfjeVRYHNo+Jze/YPS6fLfXYfbOBzeP9vqtsHuu3XGXx+LxJLoAt issmJTUnsyy1SN8ugStj9c4TbAWzOSumz7vM3sB4lr2LkZNDQsBEon/rciCbi0NIYCmTxLw5 t5ggnG2MEgcuPGSGqfq75hojRGIzo0T7+vUsIAk2ASOJb+9ngtkiAgoSPb9XsoEUMQtcYZRY e/k7G0hCWMBG4s+DXjCbRUBV4vb/yaxdjBwcvAL2Ehe3Q50hL3F2y05mkDCngIPEgaV8IKYQ UMXMmcYgEyUEFrFKHDnRwgRSzisgKHFy5hOwtcwCEhIHX7wAu1NIQF3i5JL5TBMYhWYhKZuF pGwBI9MqRrHczJzi3PTUAkNTveLEvJTM4my95PzcTYyQ4M/cwXj3ifchRgEORiUeXoGLepFC rIllxZW5hxglOJiVRHh91fQjhXhTEiurUovy44tKc1KLDzFKc7AoifOek5kaISSQnliSmp2a WpBaBJNl4uCUamBkfpphco7/Xv3XKRJn+3Z7Ln6jvzGSvWM1z4eQUPn2HCn9mey7o8JPv+md tj0/83t9UuKHSTK3tjy6wGd67cepXPkVYnzfTq5t71H162dzP8oe6JczoU70/8I7vQ0Ca2IX 3Fv+2ml5HqPkLsl7s04VbmPar/99sVVrYXwQT+tUAbMpzLsnBt9QYinOSDTUYi4qTgQAh4fn r3oCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOJMWRmVeSWpSXmKPExsXCtZEjRZfXTD/SYOIKTYvVd/vZLA7+bGO0 WPBmL5vFytVHmSz23tK2ODS5mcni8L2rLA7sHhOb37F7XD5b6rH7ZgObx/t9V9k8pq05z+Sx fstVFo/Pm+QC2KO4bFJSczLLUov07RK4MlbvPMFWMJuzYvq8y+wNjGfZuxg5OSQETCT+rrnG 2MXIxSEksJFR4ti8u8wgCTYBI4lv72eygNgiAgoSPb9XsoEUMQvcYJS4M2UqG0hCWMBG4s+D XjCbRUBV4vb/yawgNq+AvcSv18dYIDbIS5zdshNoKAcHp4CDxIGlfCCmEFDJzJnGExi5FzAy rGIUy83MKc5NzywwNNIrTsxLySzO1kvOz93ECA4azqgdjNcnmh9iZOLglGpg3FuecUDzrkPh LUdJ6UCTjrnPfDUue57dfe+AxW2l9HOKF/QvHlPdeGjuuWtntPRuvgqMYhA8oCW3yYct8uxr M/eox/2cn0MevfvhX9vBxXx5TfjcsnkKq6qCDb9qcW1XO2M6r4vNKLT5Y9JnHe5Py7ZUFYb8 DrjFZZsnffO+jV5hsPq1FHkvJZbijERDLeai4kQAIlbg9soBAAA= MIME-Version: 1.0 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)(39410400002)(39450400003)(39400400002)(39840400002)(39850400002)(2980300002)(438002)(9170700003)(48376002)(54906002)(230783001)(356003)(76176999)(50986999)(4326008)(50466002)(1076002)(50226002)(8936002)(47776003)(6916009)(2950100002)(106466001)(478600001)(81166006)(77096006)(8676002)(33646002)(38730400002)(189998001)(5003940100001)(110136004)(72206003)(305945005)(53936002)(575784001)(86362001)(36756003)(5660300001)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR04MB0388; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT043; 1:2TAJyhWDQiVyw7/oti85HDXy+LL1G5BE8TiIhlCiKyEi9FNR9Ul5QcO/ndX7E5A/7ofn6G54ED1NekkvEsrxIXD7eeBFYO0y9rAGZWpTiaB+zCR8qcrXyIhCgdE3fDyWgXzD0uR0DNvPeZAMV9H/uJ5axECMwP1IyuDQHSmQVB8Xo1cW/pT8UWhut2XMQXza/yyjcjmQJXHYEVzQDRgqoL18tB8XlehaFh8848/cUT33UKLJQpLEENBvkBsGfqdP5ayVZx5c8AyHup3lx/qfb8BAFziRZQBFyM6SF7+Qt05vUHrfq+vCJT9Jze45d/y6gK5jzzmbYn3p2DASODA4aSfWbOxEY97/3j77q23Yjq/Bo+X6RvTsgq22W2YQtuNHdTctzKrqxAowiXQGsxO+cWnA/C5HKoZNj8ZKIVzGIwIV/RhrGurluhlwCpeXorCMY0TM88DjpVHM4RQdVa0s/+YOlOl1lxK3/DGGJvP+kyJf2C3U3Hn6zaiDFbvSzQdZjwMLvxGyWi69KlyYvZfD40cIxtpaOCKqSS7WUk7YFrE= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6PR04MB0388: X-MS-Office365-Filtering-Correlation-Id: e2f38ddc-66b7-4414-46eb-08d4a86c5625 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BN6PR04MB0388; X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0388; 3:bmK2VVRDzFAuWVHLrZujNlV2G2YcrhzdDlPFsebfiuca+VNENBt92A8iM1lz9Ke4qqDPiSCklVwIzSBsCx8oyfqi0/HPs0C4A1Ec9ebDo0retOT5ZUx40Ur5mFZv/pn6wIwpgaMN5JPWIQKltns4dhdWHztgi3Pw4MAwiwGQmhpZES9f6b4zZq9/jd+z/xlZNan1AH1KMGXywmUjppApjs/O4NARdY3aXupOOCnFl20lShWAVAe30sWvdFGscfQ8qxc8kz/bt3XTFcJyC1CUIjMqk1V71Kecwqq6Ytqb4omLbQhH8kayG0j/lARmXnmQybDfxH/Qm70FfM9ytbdoABfeNSVXRNYtD6YYC8dAwhgphNMYHpmMzb+Yj3pJ+enE0kNzMlPTr6spmdTvIN/FIeyfUSAIL7nzboGf5yoJuOTUGx4MKbvHebaOkizMRcw1B558/GZHlNJt34aEIQdVLBzud8ffRwIXZ78PMq92Sp4yEeF5HPgPD4izwSauriYP X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0388; 25:YAkq1URVvcQkECh390zr31UYjJQcvr75sc3J0TkBi0HwBu2JPapQNU6eEo4VbxVogM6eR9flVJ2nj1HZOkkVFtY2QlqWIIMGrSrRR53xaAtJWNI5rJ4fJv89EZvNRbqqMs5H87lb6Ut61TadmzSO/2I/kprxsAcZZPUrQBWElYPEfpk7nJ12pOHlrTbKkpRgeAbI4T3rWJoMRHswkbbaa34RskZQ/vVfY2Gs1jVBmfRHy8wnClFJnsesPfpRoWnIRFLG1vkLdfjffBQtr/opPsljh9NU4UtxS/dQ1M7l9srMeCqyMdnTlPCjf6wTAs3LWXrobqL+BYVKNGjRs2I1AAMXQdEyGwwUAfpVgJkj3R6uPalZ9uH+qeeK4P19iqa6BI2TZlPLYEakE6KW/k5HLMbHuwvzYNFzJR96uz1Ak3MYGM83K3rbw0/Q8BOcUn5ukcGYpjVf8xa6CX8VcAS5YnmZ3Y48pjxksWiO7XSp6fM=; 31:tHleNzyVYTKHtyKiEItLsrmr0fSaFF5T/hI+ZW2WIvjUmrEE7qfwk6g/kV8UAs50aBIf5+w5JFqJvkbXtAlq70CXsnoa470iT6ppEGRy34ctSn92T1bsp+gXFABvXpcpPtTKoV4qsujankPeWuAeikYM1VoWEBMiCzR0USJOwc8rMFRVhR5+wx7aXIIwanmSJM81xKWDWj9s00GeBr/RgEbCqLTWW6dnqn0G9bOFrOx6CsYIoskcZ6M9dyuw/7rX WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0388; 20:F2IV6YxqjEfTzKdNDRgCf2E7Fx6zDYm2rv13NnxkxswOZ2eySvhwEzvz6PY7F8G63mHDDnkd83H1GXmB08VeTF+7jPgCq1cNOLQZN6ar9mHb9Uxao7v2TUCGszS/Vo8W5lYp3WKc5zWHbGRDIQn+bndYJ4PTfPWq9lv0zRneEnqV90dlgyWanzE2DlK2G1Sj1QOw9J82b4pUsWPxpvCBS+aYE91pN/zG3YTcSb0faU2c0jhxhYR0/TL4teMBCCeKkWsEiawV0TBJSWDuncqs5r0zv/bSld4tGg6maPNLEWhlwU28UUOzxsyuiow4yd/v84wgYJ6EtU5Gld1ndiiIe9kFGGEw3R1gcsQ0WNWrUQKmzudmeJX80CtEduUesaV4hLU98R2RTLiZ+bRCgIPmWOAjXZ2TGh314qiWpk7KPQuCsQnCAUuFhQKYep5eg0GH2SQPJnFlIzZDVOkPbMepjyB+qJCi9kfAH9IL9RQWWkrk5tkAe3F+fZHTpyebq5Xv X-Microsoft-Antispam-PRVS: 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)(93006095)(93004095)(3002001)(6055026)(6041248)(20161123555025)(20161123560025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148); SRVR:BN6PR04MB0388; BCL:0; PCL:0; RULEID:; SRVR:BN6PR04MB0388; X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0388; 4:kCD3VI1oYXKp5rsCyM/b9SLYIU5U3zkVGYqs4e2BvZYpLlwlSzLOd5emPU/TO8Gp6K1faAKVPANsHln2uNxezkbogRsA1/fbfqV2oJDVZT8ZOKIGb7ZHyNFyHQSwoQi7rzA2QlJFs2fkvYpoQdfioiVHTexxyQB4NNktJg8PoGTp/KHR3zABihMfoDO6uxN0rOmWvHSXulWl4i9Umo9uaXMly2GJ+5Y5sqAZrQeeDg1xLc8UQjMhnSb4NQVSb9hopEwgaWCLhaOmfWHaoFa/6qs0DM9+h12xgW3wzZDDlJRNXzU7l8qEwBZV57ftYVpHQpCtBmylNR69EUaagWY6yU53GA7XK944UlD5YKgzmzaL/pkPm+W9he/BnFIoCvkvo1DHt5nSyNOj5CpyS+eCDbYaf0O6DoGKGAx2NLJgIXuA0W7fMY2AluKEAXhXTx8030eBpcyivX++NH9BC8NYydBN7yCUOfomooCuUNq1aFR8za2nG8gONJ5o54tdxMvA8zH0RAendzGhT+evP71WI57ZPovcj2pw+boB+SpqCpC8USge8Z8CkW9icNU3f5p/37J0XZO22LaDQ1VP7WxHR1wxKUrzcBvQE9vdewkBzzUk2/HjXcvqbQvC+ahxeyAg945B/HmoCRJLxngnHL6+Wo5HxuXYELT7dnAEVbY2q85WN/YFF+RIcAZFC3LY8eUsjriMnXoSdqlAHq5JkX316B+ml1STcsoHmmRttGUERuvSPxp0gK/dVmevESBHhGtaEN51WGf4khGA6DAgMP8WrsQMcXKryqELacO/Zs4tssaaTKtSWoDGicIyxe/MhzsQKS78lrqTpWgABnwSSaaXQ/l1+DOH7jdJKs53QP8OrzYWPVm8+kbi5ECBmKwU/nmFg+UZI6F7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YceqgWwUdFCpEJSLivw45z5BdPcJIgEI04yWwQUPAvImFFVW5zVfs+cfVskGA==; 24:xQMb750t67a3YoWlCM+m38JXz1rVh957+zy/6Lqnm5iFWuk/mwQDgbBpzSku885SRfnVzBZ+EJElfKlHqiKuWzTIeF74AbMIBnhGXs91ETo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0388; 7:I3Fn+RtaEJdhVKROvv9bNnaWsVLYxWM0VUDkLvh+edOUhjNXUE2TRq124njmihc8lqc4YDN0U8QNuE0JPxNMqBuK3B64hn3i6R/YwHz2QYgweXSgChe6STwwDIZvmFM9l7S9LRDyijKCg3m185FpU/rBYrv31kdGjtXOcDRnjJNPghVnx+Ps/7c1EzBZj4y4U7B9XBzhKz0+NEKv61os+6IrGtlUTMyBfc7LSFf/HNvu1JR2hMoHfRXJB6SZeS/I7Qcr8+fqlViHVY/x4yZLcXUrb9XwQ0MwLruahr3sQY7fr05qPdiGJgWHZk5D0Q0OC8xF/zzC4nuYsbSGOhuxUA==; 20:yG5ad5XeO6ziVuQFbVKWYfwixzdJmwN+QtImUkXUzZX+mhp8ZbonahBNRfNz47gCsGKbZmoSeAaegBa5buLNNkQbIklNL8RAypXUidZa5kNzYKY0Vf3shFHJmI2HGjwzHn+Vk35l3V+Z1WjiPhFHp2ZmTBEre4FKLZ5FK550c9k= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2017 21:31:00.7515 (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: BN6PR04MB0388 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 Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Omar Sandoval Cc: Ming Lei Reviewed-by: Ming Lei Reviewed-by: Hannes Reinecke --- 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 fa0f624dfccd..962c8417809d 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;