From patchwork Thu Apr 27 15:54:37 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: 9703107 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 9FDC96032C for ; Thu, 27 Apr 2017 15:55:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65C0328607 for ; Thu, 27 Apr 2017 15:55:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A7082862A; Thu, 27 Apr 2017 15:55:36 +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 DC11528607 for ; Thu, 27 Apr 2017 15:55:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034447AbdD0Pze (ORCPT ); Thu, 27 Apr 2017 11:55:34 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:30739 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034139AbdD0Pyx (ORCPT ); Thu, 27 Apr 2017 11:54:53 -0400 X-IronPort-AV: E=Sophos;i="5.37,384,1488816000"; d="scan'208";a="14348116" Received: from mail-co1nam03lp0018.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.18]) by ob1.hgst.iphmx.com with ESMTP; 27 Apr 2017 23:54:47 +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=HcxHOb6IYSWO8VdH3dZLRVv8osfNj0Ro1CqTTuq5XZw=; b=bwRIfDgmj42qqXq7VL4U3q+3fe7d6Xj1U8ZBxv2roKhBmmLhYTjMqAaDq5ftn2+HgHdKuR01uBlAlPVTpPrOl2sItqskHjyKdlttpWnZnfCd9olFtqiddaMrDcQwYNg/QRNIXcEYzTU4WaB7D9NIf4daoNh1KxURv9Rbcfj5JCU= Received: from DM5PR04CA0046.namprd04.prod.outlook.com (10.171.152.160) by BY2PR0401MB1765.namprd04.prod.outlook.com (10.163.29.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Thu, 27 Apr 2017 15:54:43 +0000 Received: from BN3NAM04FT054.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::208) by DM5PR04CA0046.outlook.office365.com (2603:10b6:3:12b::32) 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, 27 Apr 2017 15:54:43 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) 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.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 BN3NAM04FT054.mail.protection.outlook.com (10.152.93.25) 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, 27 Apr 2017 15:54:43 +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 3C.71.19026.24412095; Thu, 27 Apr 2017 08:54:42 -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; Thu, 27 Apr 2017 08:54:40 -0700 X-AuditID: 0ac94371-41ba798000004a52-fe-59021442d933 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id C5.9B.18148.04412095; Thu, 27 Apr 2017 08:54:40 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Bart Van Assche , Omar Sandoval , Hannes Reinecke Subject: [PATCH 6/6] blk-mq-debugfs: Add 'kick' operation Date: Thu, 27 Apr 2017 08:54:37 -0700 Message-ID: <20170427155437.23228-7-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170427155437.23228-1-bart.vanassche@sandisk.com> References: <20170427155437.23228-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsXCddJ5ka6TCFOkwZkHAhar7/azWSx4s5fN Yu8tbYvD966yOLB4TGx+x+5x+Wypx/otV1k8Pm+SC2CJ4rJJSc3JLEst0rdL4MrY9P0bS8E+ joo7z5pYGhh/sXUxcnBICJhIvN8U3sXIySEksJRJ4tw34y5GLiB7G6PEhEN7WEASIDWXvl1j g0hsZJR4P+M7WIJNwEji2/uZYLaIgIJEz++VYEXMAlMYJaad+8MIkhAWsJQ4sPY3G4jNIqAq sePoejCbV8Be4uWen8wQG+Qlzm7ZyQxyEaeAg8SyD34QF9lL3Dq9gR1kpoTAPxaJA69amCB6 BSVOznwCtphZQELi4IsXzBAN6hInl8xnmsAoNAtJ2SwkZQsYmVYxiuVm5hTnpqcWGJroFSfm pWQWZ+sl5+duYoQEdeEOxte3vQ8xCnAwKvHwMnxgjBRiTSwrrsw9xCjBwawkwruJhylSiDcl sbIqtSg/vqg0J7X4EKM0B4uSOG+W7NQIIYH0xJLU7NTUgtQimCwTB6dUA6P+796T018eS525 cMKsQ0st3r0zeOcc4rzrdon4qa/qGntnWb1/6/Xmx+e5LFWirYHX7r1cMXPNSR7nk928ekU3 G/U2iokvES44a3PZnWPh3paHE10F9RfqfKo5W/9lmXzJquXiaoeP7rvqZKxnFvP4utGz9U9f ntH+eyrZ9pN741P1hVw+q8xnK7EUZyQaajEXFScCAK+2bpJmAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMJMWRmVeSWpSXmKPExsXCtZGTTddBhCnS4OwdMYvVd/vZLA7+bGO0 WPBmL5vF3lvaFofvXWVxYPWY2PyO3ePy2VKPaWvOM3ms33KVxePzJrkA1igum5TUnMyy1CJ9 uwSujE3fv7EU7OOouPOsiaWB8RdbFyMnh4SAicSlb9fAbCGB9YwSpy6og9hsAkYS397PZAGx RQQUJHp+rwSq4eJgFpjCKPFl7yawBmEBS4kDa3+D2SwCqhI7jq4Hs3kF7CVWrGxgglggL3F2 y07mLkYODk4BB4llH/wgdtlL3Dq9gX0CI/cCRoZVjGK5mTnFuemZBYZGesWJeSmZxdl6yfm5 mxghwRC1g/H6RPNDjEwcnFINjJMS6jfO1lfY//HHw9xrb+2nWvEt2+dqnB26N93Zk/uf5OEF 24s4OFda+zfPTUy09Tlr0jAnUFZBL0gzbJ83A9vcT8pNhkmK6+UtO/5MVeJ0a+D1ZDujyvgq 0eEx16zq5xK7n/Ecqpr3cI6374SZDSKBG068cGf4wpNxOFYwyOGe1SGnyvTvSizFGYmGWsxF xYkA53qiYbYBAAA= MIME-Version: 1.0 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)(39850400002)(39450400003)(39860400002)(39410400002)(39840400002)(39400400002)(2980300002)(438002)(199003)(189002)(9170700003)(356003)(2950100002)(6916009)(106466001)(5660300001)(4326008)(6666003)(47776003)(38730400002)(110136004)(8676002)(81166006)(53936002)(86362001)(8936002)(33646002)(77096006)(50226002)(5003940100001)(54906002)(1076002)(189998001)(50466002)(2906002)(50986999)(76176999)(230783001)(36756003)(305945005); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0401MB1765; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT054; 1:66wYUR/E2tnBaW4fxBNrN0Zey8HZ6eRPqyTOADpWO8HrtefZdmbsC2qPiVBo/54UWDANXD3txfefRIOY7aY9gsPovwba7EgfHIPdEBtdDPTTkrUn9EWo8oDhRjT9FDNhPcsjJORC7UeX7kvJp3SZ6eX58mAiY1mB7DUEzPaCMIlWccJSC6oLxHLPX0YFbR2XbJL01D/F5BXnPakiprbZD+/xNMSTaWqyr82XTLSkcRyCcEInl3FqI41M5O953gsQCRFfzPAqSgyYj9ZjLwGrEZiigkZ1S/Fn+UR6o48z9VWvbiGMC2pKRVp8lbFvC4otlUI9fqK8ZX0d8W6z95lpGXl8Wh7h0pcDVQZCTPwHGm3etnpSkNEzg6PCfmg6wOa60Nhzbe3Qn9cMa6gq5vdO+2YKICVGR4ir3qBCQMnjgg6z5wjKZWFfqpGuXH/GNNsq92JC+S7JCOhNjgeSD3k8PILZZbqxSEuTsxuSq6nkvVphIR8kll4Ihu5KFoT53xie4/LKWZ1tMkh401X90bGws409g+5c9hBSOqG0/m5sgo8= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f9f0b57c-edfd-4bc2-1ad3-08d48d85b8e3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR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wxkiPo0Ew==; 31:IgxodX/3tZQrwP1/LJ++gnqrlHLpfLOxHi+hFvFYpMTy/n7tkIcaGdfP/EjJIFGF2O06F51APxPQwHCoTSk2JSyXnglwYXXyASmizBdRs0bZuNdMP6qAECbg4wawPoegBdqLiExpsIDLX/bmTC5DssJzURfA/zP4KnW1WExW5aW6Qn2jTIm2vge0lxJqFWewX5V8pc34aW8K1Y8zisKRl26epM/fhHTe7jK+XrKCAQCrofuMZe8ra31JSWjwIKjX WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB1765; 20:9+NGNH51Y98SAM5XbJAfKtTE1S7a2FCov3vEt2WeWKB/DVfZc2EisrJXypbQWMORqhcnrOMKduDbpqO048R4/eQhkmLhgu7SoS3kqqn1Cj1gBAJPeMIDn7n69vFyR0AE6jjavAIRErWIZ/2TKDgZDY57Kwoz62qcCPiWdkK9fIRvyUpMxsg7D6BM2W7LTvPJUc1OoFZPd/ZaAXasSK6mn7uICp3AoBRfY8EMZmaznI+jKh8aJ04eIJ6zYlA0uiQIM1qeHXkflpDeuIJqM2+NYq2SpwUwVj3L/ivt+zG1/5Tq0A5ZjB/ord8m8T7GHHgDil//CMQk2fwx5y6qG1hqj2rz48nCy2Xw1su3VOs1ei6gdkeX0xDQDmZXYZUIiEvgp+lmft8ZYmDirg/t48DWFAMRBvU5jeU8LeQFygIMqXYfkWG+dKRydHkHlHxtFBGB9vseUzzrnf1/QwqQl1Afb9Oe/mp3HpyLdiKiywQYPvLPI16rNOPAb6r9iZE+MZF0 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)(8121501046)(5005006)(13016025)(13018025)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(6072148); SRVR:BY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X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB1765; 7:CT+w/AeV5blXEWUTwOGPxBF/FLa4d9jx7hDK6OVj5K9LvHz/trCDDx07Rjw+JAL5DFkK0rhu2fklMUfhPezk93BpAFl55NrbehbCDG330Z/yMe52pFYiHjswaVZ54UJcVx4MMgslGFM7M2BLAEi/aUJ818AeOjqSc6/CkAj6PGgf2az+4iUtalZbl2l/LkmckJhzVNzLo6XkHrj/22iK2Vh1X/sbtSJ6jP78x7QA/Q7DkB1QUd9ioW6wv626Mf0XgnrWGCG4zN0LZIpF2s79/pAw8gcuw67+BznwEhItP6eLXPfFdxOwlSp2gF9yAcfGNMxMdA5UMv7CVacHUrwMEg==; 20:BfA8FFeuw1YbEpyENtRF4cuMbDyPHA2JdzDkW3HPkfqv2sblfk218vx2y//WnLIJLD9Rtyg6ty0bEREj2qNK1SLyd+xnHJNPbTx1qDPkdIF/OTaIx6CYKufmW2gawqoW/NW/3w3iaICs3RMAAqRVIYWevTQTED7DCvnPlOMmWMs= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2017 15:54:43.3921 (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: BY2PR0401MB1765 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: Omar Sandoval Cc: Hannes Reinecke Reviewed-by: 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 a5e286e04569..aeca26c739d1 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -120,8 +120,10 @@ static ssize_t blk_queue_flags_store(struct file *file, const char __user *ubuf, 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. Use either 'run' or 'start'\n", + pr_err("%s: unsupported operation %s. Use 'run', 'start' or 'kick'\n", __func__, op); return -EINVAL; }