From patchwork Thu May 25 23:38:10 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: 9749423 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 AFCD06032C for ; Thu, 25 May 2017 23:38:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A21C428381 for ; Thu, 25 May 2017 23:38:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9567A283D9; Thu, 25 May 2017 23:38:40 +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 5D01028381 for ; Thu, 25 May 2017 23:38:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969358AbdEYXii (ORCPT ); Thu, 25 May 2017 19:38:38 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:46776 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969352AbdEYXiZ (ORCPT ); Thu, 25 May 2017 19:38:25 -0400 X-IronPort-AV: E=Sophos;i="5.38,394,1491235200"; d="scan'208";a="117415087" Received: from mail-dm3nam03lp0015.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.15]) by ob1.hgst.iphmx.com with ESMTP; 26 May 2017 07:42: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=xZZLoqtQpDuloxQWw/PuCFi2LW6JmektUu/NpF6pyqM=; b=FwUnfte6thC0EAWKvD1RqKzbJjD75eU2Wm1FyDLsB1Q4I6nJTJj/M8UcQDTrzvxjyCIo1ocPd6A9TIUQ4ExxMRxgWSe2euxh2XgCOw6iW8eJJZ7O6RfBqDB52AysicQNBCT1AthDCdllNS4/tBxPTkXCi7N1ZD+f1jPYqlC6sI8= Received: from CO2PR04CA019.namprd04.prod.outlook.com (10.141.240.147) by DM5PR04MB0365.namprd04.prod.outlook.com (10.173.169.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Thu, 25 May 2017 23:38:18 +0000 Received: from CO1NAM04FT054.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::204) by CO2PR04CA019.outlook.office365.com (2a01:111:e400:1428::19) 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, 25 May 2017 23:38:18 +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 CO1NAM04FT054.mail.protection.outlook.com (10.152.91.22) 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, 25 May 2017 23:38:17 +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 43.25.45291.8EA67295; Thu, 25 May 2017 16:38:16 -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, 25 May 2017 16:38:14 -0700 X-AuditID: 0ac94369-166ac9800001b0eb-50-59276ae857ba Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 27.54.18148.6EA67295; Thu, 25 May 2017 16:38:14 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Christoph Hellwig , "Bart Van Assche" , Hannes Reinecke , "Omar Sandoval" , Ming Lei Subject: [PATCH 5/5] blk-mq-debugfs: Add 'kick' operation Date: Thu, 25 May 2017 16:38:10 -0700 Message-ID: <20170525233810.23211-6-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170525233810.23211-1-bart.vanassche@sandisk.com> References: <20170525233810.23211-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFLMWRmVeSWpSXmKPExsXCddJ5ke6LLPVIg62T5SxW3+1ns1jwZi+b xcrVR5ks9t7Stjg0uZnJ4vC9qywObB4Tm9+xe1w+W+qx+2YDm8f7fVfZPNZvucri8XmTXABb FJdNSmpOZllqkb5dAlfGnY67TAWzOSuuHl3P1sB4lr2LkZNDQsBE4sfnHcxdjFwcQgJLmSSu 7Ohlh3C2MUo8On+QFaZq0fd9rBCJjYwSPYt+MIEk2ASMJL69n8kCYosIKEj0/F7JBlLELHCF UWLt5e9sIAlhAUuJbz9Pgk1iEVCVmPnxLCOIzStgL9G+9jETxAZ5ibNbdjKD2JwCDhJTnuwB u08IqOb5pyawkyQEFrFKfP+yBKpZUOLkzCdgm5kFJCQOvnjBDNGgLnFyyXymCYxCs5CUzUJS toCRaRWjWG5mTnFuemqBoalecWJeSmZxtl5yfu4mRkgMZO5gvPvE+xCjAAejEg8vx0O1SCHW xLLiytxDjBIczEoivFvT1SOFeFMSK6tSi/Lji0pzUosPMUpzsCiJ856TmRohJJCeWJKanZpa kFoEk2Xi4JRqYJx34Mo6hWJO1eyGS9c95zo98l4etYyzdP2y+WGvu071X961MblOs2/qnHKJ e5fay/8uPV1qdnVn6W+3kJabH6Vif5/xPte/Oc7jkXLzlsL94kerrf2qeNq4pq2atrrKiDux 7sfZsKkdIazVXOpSKi5BK+6wb66a2ZK5pqKuJo0v8tJZyTX3MpRYijMSDbWYi4oTAeW3sOZ9 AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJJMWRmVeSWpSXmKPExsXCtZGTTfdZlnqkwYEWWYvVd/vZLA7+bGO0 WPBmL5vFytVHmSz23tK2ODS5mcni8L2rLA7sHhOb37F7XD5b6rH7ZgObx/t9V9k8pq05z+Sx fstVFo/Pm+QC2KO4bFJSczLLUov07RK4Mu503GUqmM1ZcfXoerYGxrPsXYycHBICJhKLvu9j 7WLk4hASWM8osXDRHEaQBJuAkcS39zNZQGwRAQWJnt8r2UCKmAVuMErcmTKVDSQhLGAp8e3n SVYQm0VAVWLmx7NgzbwC9hJnWzYyQmyQlzi7ZScziM0p4CAx5ckesM1CQDXPPzWxT2DkXsDI sIpRLDczpzg3PbPA0EivODEvJbM4Wy85P3cTIyRwonYwXp9ofoiRiYNTqoGRMeXt/yNn3LUW X9SXje9aHdaslfr7k9adMvsFv9zcDFcFlap8fLb47du7K97rzLzYeeeitOnt09oSdbtTKsWe 9f5jMXj0RGiXwIGkHPbLDeeclu38/u55WrS7eoX2/G6OCRPNHM87zF7YK9tomMiQunydx54v eTEH3lRdvxiqYTt/Ouv/pjc5SizFGYmGWsxFxYkAzCcLgcwBAAA= 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)(39840400002)(39450400003)(39400400002)(39860400002)(39850400002)(39410400002)(2980300002)(438002)(199003)(189002)(9170700003)(2950100002)(6916009)(76176999)(53936002)(5003940100001)(305945005)(478600001)(50986999)(6666003)(50226002)(110136004)(106466001)(38730400002)(356003)(1076002)(50466002)(8676002)(33646002)(48376002)(4326008)(36756003)(77096006)(5660300001)(47776003)(72206003)(8936002)(2906002)(86362001)(189998001)(81166006); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR04MB0365; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT054; 1:KzhRcUbsKeex4w1j+C66rlGJtuIodQgUoYE0EFl3B81UiXFU8FT07qZU4K7PSItlDfecNXPz6cPEcFC81nFIiUIqFZrpQn1cCMWJy8nSovNF4VWk3sqzT4uqQnb26YklNQrO24Yr+9DNlK9khkOm83zDK8JDInXqjr3gi7LVPx8DKUm8mbi5ALTX5zYrEK6Ht4uxyhWIZAVL6veBRz//NclB/JvdU1XLnxPSQPBOWGpitYbeboaFIomh7HeRgYQPFJ3r8npg6WbOCZF1vAGTQ62aS5DNvB/zx7jgia3Hd+69egGgs7Sh8kDH3P1HGWkUKI0JL4LS4LbZGuscIpankS5AZlXznY5erjtmxxrejYkvjpmfiZhKPq9K5aTJ/FzKnn0jQmztVjGMmVIqyl7D27HYotvr6fpx3hg7pTNG+o/kA0Ua5zoaPHayKP/cnCUT12AdT26IeVYDKDw4gmPoOqz4DEgD2pEcsJcV3KkbP0MiPCEKtgPPOaDCgmDMfhpRUCJGsrIjMD/Av8uxDxHMRxBn87t1AuNiGWzJLQNJ1Fw= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR04MB0365: X-MS-Office365-Filtering-Correlation-Id: 7e74cc77-ae63-4f88-a5c6-08d4a3c71eff X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:DM5PR04MB0365; X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0365; 3:cSLG+B5s44oJ5fnbL1KG+byBqJae6LQBo/4AiPPYORvKdvJNtqDn5WOTdMcDWyDQPram0MTJ09XVS2/lRB/4xXI2qfLUvF5+sGRKiPokqRucw+DFCJap6uuJ00tfErj2jLwBr+lf1aNoE2Xjv/sB4Rg2mTfPOx8yC8x0TOz+ehccsIe8xy4VhgaKu915PWwc9tgcgTHRUXgURqYccxv0AuEDecpTibhgTrlU1QKqxtIDa6DSb8WFp4M0QCwCd+mBNvrIsJeDbVV8iemHLxCXhcxqcrlVXrVQYrwcGj87ZRZLRNMhaUqm60kmnU0S50s+XSDcd7C4+UmIFE/7U3bQqKilEwZnJSpwpk0fs0c3I9K1izipqAqCUmdWLWHOrT4W03Td2f58280cazLenVMpw4AjRwJ8s7hiwvc4uVQ+/dLB3egMWZXzsvqw0uNLVOrINuS/CEY+kgRYLoxPXBDaK341m+y4vIeKPAE3Rqvqkkcps/wPf8m9V73hrGHjNhqG X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0365; 25:QPwOzzIvzx088lB+NxTsPptxyHIesqV7mGVBAuufqjojNBr6qxqp3vJBXkgwzEHeSuy1UxUPvHYRB1NG71R2FRgh6blia23Xbjf0CuUk/WdS7pediu2pje+21ziLyLsqnhnu4P+Afy8kqwUhirAi0Ar+W1AHJKr6BXFOL2uQ3B3AjW/3tTapqjyKnWHcnEzgEayf+CAnAYdAwEIIlN0+YbOLsVA/48l4yCxBy08/uzcBC7qcovytR9w9aZo0K9KcDf+bFOKGGD67xOfZYQaOMrvdLcGk42uggn+GYQM+xzU5U2+RSmL6tfxAbQpE6nzmdgSGsBZByee7RtgTQ8PiLfvECa0UJ4NGUp3S5UwZn+l205ZG19ybtmj7W0djCKjcNVaVqRhKTtbu7J1AYLqf6q1l8NQ3B0hVCVVS/p2l0DQEWpXf0UGhzwrupKhWmBiJ8xwKXfxkepTZavQOyd8+VJYpD+Cw1gzN+O7vIO4Xk+E=; 31:O3GDd1e2QmXm7Y5SQv5heZmnFNvB0C25bq1GJg6ZPEwTOJjz5XRKGwWAOI72PsBUDh68JiLwtoG8Gm9tYRH8jG8khm3oBHR6iftj5C2KZKBQVPkQtKtCvsY69k8puh4UmxrV/hEtBjNSNeOrgVH5tJEii5XmxxNudqKlosEUPZ+WxF91BCUEAT8ufQJkEeQFBovexazYm7sTQQgXjakHQ/otRybBE1nYxj31kmC3uvjvemKczuYCyehuLwdy8iBg WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0365; 20:2+LNPE9AIUiQbKXkogSX3C+EvDViDyD4Zx53rdpenODXgWnNM4bEtuuEP1l0XKyeAYJrtpnZ+Wp3rF1joD6M3n5CUU4oGyIvl2gDACTZBxr1S7cGfLeFZ2jvA8JrgxyMEmIJKJRUQr+jBvjgSBncQXt0kTZel2YVe8I1K4wPSHR8f0ig8tm3gXtdx5ZdPTVWvvpuSolcnyeZ7UJUUpe86m034LkWfaaG4+mu6ztyNxPDofmF8uv5NPZelaSiv+vfw+mchrxC05f6AzTt1/Dc+99crLAXT9pjhTXRgtFPrJlxUIbYNcfb6GN8erKckdHHES0Rtwj1/bGJ6b+4prwXqDk1fBrFv1d9yQXCziWXbQZZ02GdbpkRMwANfKVEtjwPNOMT+mWUuYO1t7CI0qLYgAmhjHwz1ajMvgSKcUdZpcQPiAKb8p20UWGQFsELDbF/TLApsB3gFzO094hyMCnojQ11usZLzQKOkWse4maBCMWC5hHk3blhODTeOrNfDixQ 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)(13018025)(13016025)(8121501046)(5005006)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041248)(20161123558100)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(6072148); SRVR:DM5PR04MB0365; BCL:0; PCL:0; RULEID:; SRVR:DM5PR04MB0365; X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0365; 4:pNaB1B03cbH/PLrX+8oK6E9JmMcBV+LxUmz/YtQ3GM0iKr6WuClkpDtkfAJHSm2AaMyMP2N+dIc12MguG9sLGt4KBnf9jVBxJ60yEvLi18s0ZVP1vGOOE7sGoXce3TujheoV7U+raE+AJeTREnNyyud73zVXNCUBcfCARllgCF8N1bsg9TiK53bCyY8jSaHG9KoVZgqmhzhSzPQJqpy3/Isgx9GAyRR2wua0/lGn0XGo3rA0tVrV0041EQtMgOESGdPsNeX7G90DHXbyg941LJendCF0CwwHsJAxyBQb1VORRqymX37Q7PX53lhaEb3ORA8ksM0x56SMiFM3bS2/614+PfF2/OfNfydTRiKTYnwYre22ToZHNIeU0X0WYXApWbJq9bziI/0925z5HU9URjeuq4pOPgIVscrZpNOajeokaRcB2Nf/8PNDlJ0J7hlwiiqvaszsAsbHpalEIMovwas2E+TGmOIFfj/CYbBcIhC1GI/xAj2n+dJHzdQ7cLtPqQCyXiVogH9JtQtY6WDtdQCDKykTU/jDpXJEEjE3EJyNUTwb3WM88jkqFm0JblZ5dZ9QaGZ1GOPoNDwufMzbxHSN5pFeNXngtqZLwTaS/r0Jr6Q00U35nRI7an3AvgcfVMeewKIFyy+0N2VgX5AVoD+F56UEUGoK5wrsRhuNZBbxZcDvfipjuwds8tWr6/ZTtmUp1i7sUFdpvTcqpS5Py63VkHOMFP0F+yu5Rkt1dmxOBkNiWrsM5IisEBWase13Ykt8XAaiFIzxg1mmKUhifD9CXqsg/nca65EX0+PYPqIdgzSojmJF+OK6pjdpodWILgoGBpK/ietvW/ehKpqLvJuefWJGN9qMYTT3FHfqvSqj5VnjbmbkasSwYxZhd/TRzAW2ik6j3yb0NDr7BI+JduCrT7TxV0Y0St1NDeJRO9 Y= X-Forefront-PRVS: 0318501FAE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR04MB0365; 23:95Jv9P5iGYoQlMn/2bgPAMYBJJODFIsAfDHAeo9Q8?= =?us-ascii?Q?G6HwlBp2xN04nWpQ50F/VsK13iaD31LwuDhm/g4cgboM0udwX8Nf1mGGdMsw?= =?us-ascii?Q?Vv5ob/zVky66usm1kmEXWr5psTyQedSAUHM+Rk+8Vjt738S4bluv9nVCPXvh?= =?us-ascii?Q?+RgJ3B5b7N8vlz8DcCp0uhnHbjSypAu9x5RrYEJ5FHI2QilkA2wUYYhEGaJW?= =?us-ascii?Q?KVhJsdPgNWcD5UftrvlObBLQ9c4bYDULTFVC4DElXfLB5NSGgS/x3RIw9oE2?= =?us-ascii?Q?sZvV6/7+OwUUBRAYz/xDMeLgopD1Q5IMTh3dhBLDx3Y8n6PzFKDGCz3YvLK2?= =?us-ascii?Q?z4Hc73Ale2lzZFYdht4p5lL35py/UZ8n0ZZlqpw368N4dMGCOqZQIfk2pj0k?= =?us-ascii?Q?hTtegDl6hEWLuYwSY62AlKFyj7W+bPfNq8xyfV7xweAoYK26XhoH4JA7UN4s?= =?us-ascii?Q?6yvslzkj2qxICT1NeGguPkiwKDl3k09nyxiiMT9skQkiibhQs8iTK530HriC?= =?us-ascii?Q?FACJsVBcc5qmxlefgZPccA6w+BNJQcnJGpQkYTBHDH6iIO6fxwWDUB6YkCxZ?= =?us-ascii?Q?7b7R0IKEcinZClRq4BghX2JPYSbd0A0jCWTSBRnlAlNY+9tE0tZzyjnelosx?= =?us-ascii?Q?JQxhR6NPhnjg1ANy9WmUXgOqrq17S+XYsK+hYsQwNwiBF4KYA3YdY42/SI9Z?= =?us-ascii?Q?Wziq7+B5QUYTX3ANLBUU6EOzFPG6voK23prUBFjTS/0xqd47OEvGLA9U2rdo?= =?us-ascii?Q?XYYWW+O+IFNd/J73RYeepqLeW+lBzCvIroTr601YkEsSfMPWwyQqv/l/vdwp?= =?us-ascii?Q?0dNM9jOcssV8lQqc4QVfe4Ou+6oLcMjJNalLvIUqDDwjfTSLc34vlu/bkwI+?= =?us-ascii?Q?RPP4IcUMXtOSvladVAH0jRn+ghRAfLtgSIIGv/MiG5F3BmGve7xWWv+y5Rn6?= =?us-ascii?Q?axajb0YZnwWZ67hFMNTj5e8W2g/DuKcuV2szyBmaW8ryS00GmRAIq/74sAm5?= =?us-ascii?Q?NwPo5sQ+UQje8iWNTIcOAoeY2138tZZ3LcVKNIaghv8bnQOMYmxj19qff5TX?= =?us-ascii?Q?t7msQEJjKouqqz9/tCqqXNT1yjc?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0365; 6:n/sqBMUvtwUZ3gI93lP4nDHSS6mOGROdbcxzhxEUHu8lzc8Det+BG65Dj+fzMlV+MGAP5zh1cKUjEh6fXIoNaH3KVb2/f43OpmSAZT/MGoAbbSP1GOIEG9+VAX3Lo7HaKilrP5fsNLcO17z6YJpbFL5fnZEJljwCU/vWrPZ52z4Ne9ec6RPWrkkCj8wgFm/zzEtJPwVoMBWWYm6NAB10sZmes377FrLTW0n4olE/cCMsl9UMS0hVDJfmkR6522k9xcz77zUjoLfKF/+kQL3Anlxxk74/WlQP1efpFHpD74rLjMW5dvW1/rreOJZxUleCupprVIG82atVuedfFhq4iWIgE74XBqv5zDjBSuF3NK5PfjJ1NydcW2p4rNjH9wZ+Vuuf9zIwPs+ISBKJV0wayTkv9NB/sHpVp2LLP3IQIwNd654cvGJ/kJdA8xTUD2G4cY588eK87cGBP0EQ2Mwxw/ddBONjZE+Y6LdgqcAFnobZxm75mZkyQ0Ju7UnrGwWnIvShHsUUC256poBS60dbGTK3+ZP17GMtFowidJd4LWU=; 5:gvo6FSDxaHzSFDh00KyKzjpbTEzKCrNFC+KdxsN50l5Vd0g7AUf81Egj6Uzd7WZq+3DI3nQV7XZwV1kDh4Xwf3+Qk7cPZEqu2CMy1KtMBYzvuU8miyG5Yqz5RWDsqCkt9J/yrU5vynbHTFQ2aEGkzQ==; 24:RK+mU/CKeevylqeLZeSodE43dtSlfC1aJpZT7f6Kd90ovMhHKSrrpjB/DqkJgKLHFIYlALdZVyu/vMQYlL0a2WzC1eK4lJ8fnqO3NyR4Tc0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0365; 7:W2ndaU18sZE7f2do5UAmBgEnJge8XnR7enu1cxgeBzizl1PQKhOyetYSeGm2h9RTGV/Y9qIycBMjT6kscT1uzDDEQMy6p2PdLwSmpx//RUauFVE40dOMh0DWd1Lzyks543KwNUZ5KrbHykJBwprY4Q5bbgZyRnyxBohtsewJq1NylB4A0Tehf2cyLYG0KH43eZ6OVkzD//Dcj78zIJQXEnJiqIpAX0NKYRMRtpe5OCO3gHxs6wnEd7UMnLyzgqmO7+/E4z/B0iGbYdAgehJvnsJ2W9On46sHHuggY+djF6MBzZtL3JiLddoNY881ltcu4JjuqOCUI/xY8rKjsoNwOg==; 20:qE5j9U7CoNBQjoCa8O7LBm/wR/r7SFo0ZCVxgW6q3XjohjmKT4hFdIU23nJo4mC0nt77365U52U0DHuz0GKKwH9sgCBzGlOBBb59mv40DM2u5565W5oePLXII9x09XT+ErsSXWNwFw43uUw+BwKP69p/baTUkyos+JOH4+pMk+g= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2017 23:38:17.4659 (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: DM5PR04MB0365 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 --- 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 70a2b955afee..89277a888800 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;