From patchwork Thu Apr 27 15:54:34 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: 9703105 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 484146032C for ; Thu, 27 Apr 2017 15:55:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CD2D28607 for ; Thu, 27 Apr 2017 15:55:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 011252862A; Thu, 27 Apr 2017 15:55:29 +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 7075928607 for ; Thu, 27 Apr 2017 15:55:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034152AbdD0Pz2 (ORCPT ); Thu, 27 Apr 2017 11:55:28 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:4903 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754509AbdD0Pyv (ORCPT ); Thu, 27 Apr 2017 11:54:51 -0400 X-IronPort-AV: E=Sophos;i="5.37,384,1488816000"; d="scan'208";a="110146638" Received: from mail-bn3nam01lp0175.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([216.32.180.175]) by ob1.hgst.iphmx.com with ESMTP; 28 Apr 2017 00:13:14 +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=wPM4xp2oe3GzAfq0ip/hHSp5jFh+tjTRXtJj+7ajg1I=; b=VHnRs31ZP4GVM3UsDia80PS5CuddLinhuyLqpRCG9nZoPinJCIk7T7ODXRz2C4bFy9W7GQ4evBGMLbavQpWQHjb8OSeGP0SAFg7D8uOc91aXMKgEm6mts7bQJ+L5Nf6/qSykZZyA3PRP4h8Y5wqFAuP1ukMNPNVXpsgpYAFK3Jw= Received: from BN3PR04CA0041.namprd04.prod.outlook.com (10.166.70.179) by CY1PR0401MB1163.namprd04.prod.outlook.com (10.160.164.140) 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 CO1NAM04FT040.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::202) by BN3PR04CA0041.outlook.office365.com (2a01:111:e400:7a4f::51) 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; Thu, 27 Apr 2017 15:54:43 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; 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 CO1NAM04FT040.mail.protection.outlook.com (10.152.91.23) 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:42 +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 FA.71.19026.14412095; Thu, 27 Apr 2017 08:54:41 -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-fa-590214414566 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 94.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 3/6] blk-mq-debugfs: Show atomic request flags Date: Thu, 27 Apr 2017 08:54:34 -0700 Message-ID: <20170427155437.23228-4-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+NgFrrCLMWRmVeSWpSXmKPExsXCddJ5ka6jCFOkwbXXIhar7/azWSx4s5fN Yu8tbYvD966yOLB4TGx+x+5x+Wypx/otV1k8Pm+SC2CJ4rJJSc3JLEst0rdL4MpoefefpeAD V8WdC4+YGxh7OLsYOTkkBEwkpj65wdjFyMUhJLCUSaL/+1I2CGcbo8SEQ3tYYKrezTvBBmIL CWxklNj5KRrEZhMwkvj2fiZYjYiAgkTP75VgzcwCUxglpp37wwiSEBawk1i/+TA7iM0ioCqx bcMZsDivgL3E5Y9dTBAL5CXObtnJ3MXIwcEp4CCx7IMfxC57iVunN7CDzJQQaGOVOLf3M1Sv oMTJmU/AFjMLSEgcfPGCGaJBXeLkkvlMExiFZiEpm4WkbAEj0ypGsdzMnOLc9NQCQxO94sS8 lMzibL3k/NxNjJCwLtzB+Pq29yFGAQ5GJR5ehg+MkUKsiWXFlbmHGCU4mJVEeDfxMEUK8aYk VlalFuXHF5XmpBYfYpTmYFES582SnRohJJCeWJKanZpakFoEk2Xi4JRqYBQoON/Wtap6cUNv AFsyd8uP20UyszVXLzfTPl3C/6bcZprtu3RuJtUZy2at2Wj4dybT4rP6j385u5ZMaslnfdxa 887WrCDtrdWyuty83NLuJP0pdyKPRuV27Xz37umpP/cfXhKYuoPD74bjgr+Mj+c/upN1u/DG fIfU3GmV+SfbVke6Ck2a16XEUpyRaKjFXFScCADIu6VOZwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCJMWRmVeSWpSXmKPExsXCtZGTTddBhCnSYMY5IYvVd/vZLA7+bGO0 WPBmL5vF3lvaFofvXWVxYPWY2PyO3ePy2VKPaWvOM3ms33KVxePzJrkA1igum5TUnMyy1CJ9 uwSujJZ3/1kKPnBV3LnwiLmBsYezi5GTQ0LAROLdvBNsXYxcHEIC6xkl1k1+yAKSYBMwkvj2 fiaYLSKgINHzeyVYEbPAFEaJL3s3sYEkhAXsJNZvPswOYrMIqEps23CGEcTmFbCX6F35jA1i g7zE2S07mbsYOTg4BRwkln3wAwkLAZXcOr2BfQIj9wJGhlWMYrmZOcW56ZkFhkZ6xYl5KZnF 2XrJ+bmbGCHhELWD8fpE80OMTBycUg2M2VVeSes3X152xFps987DUWlCDxW1f3QsSsyJ+cvY U/VEue716kmWnsd7nihqh1wP+27DyDqr4Wrsn3NO9vf0Wndej5w40V61SeCDWK/OxobbgvkP dh3Xlzj5O6dO/lTMm3WnJxuxG9vo7Wp/an55x8qVq550vGm8MzlO+d2Pd7+4vsrdrZvnpMRS nJFoqMVcVJwIAOG0eOW3AQAA 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)(39410400002)(39400400002)(39840400002)(39860400002)(39450400003)(2980300002)(438002)(199003)(189002)(9170700003)(106466001)(33646002)(47776003)(305945005)(5660300001)(1076002)(50986999)(76176999)(5003940100001)(8676002)(230783001)(81166006)(356003)(6916009)(2950100002)(6666003)(8936002)(2906002)(50226002)(50466002)(189998001)(77096006)(53936002)(54906002)(38730400002)(110136004)(4326008)(86362001)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0401MB1163; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT040; 1:zh+ZEcho/or9NrLg3QkaoUIM/L7Qj9dmcjcTRyn6VE6ElvaXRfeec6fUQlJCHVjze3Sti8XjpaL5WfutU6GQgoQ51R6Ig1owy0twDrT2EoUOLfauJTyM0TWvAFsZWEjp0xN8ft+Q9jJwlLPlkFKhWzBHnB2pbHsLz09DTpbPHWlBLchxkOrtJVTezg2etPaAjbDPLqEUJX9SAX12xDVsiz5LSFjCipzAXPUZWwxvm5aPDZ5jJ42kzZs+BB6BRXT04Kym8/JV4SvuMh30QlhyXkkN1ctBh48aZdY8AOPgsGAiUQMcdCAjTX/VTVZqYlfdeKKL3dxLghIcvJKrcRPYa012h0Zg7Itpzdyw4f5ZSyad3mWK90LC1CcYiTW3DYF+DxF1y2ipOKJntEDq6MaoBPlS6hz40ee5cRyn8LmgGAe0OmK3o0J5pgVE8NXA1H1plY2Fb3I+EXZQakRNNKdyfRqOaYv20rkEeIOt6Phuu0rP26jdx5svDnqwOYtUBzigFvVwp1rnIG0dUPvsZagBWdw5ZHmnKpuqGrZaNwe/aA4= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1282e4dc-8dae-403d-1f5f-08d48d85b81d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)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8RMswJ8CCuj66HsOKAEBAR3/QjGw==; 31:2ETKHoMhBxq7Immu25vy5Ij9JLVdAHn8a9H+DPGW+OBEJNfgI0Lonu76ZtvA3jMcsVJbLhUwE+bNbW96inb96M7JHug/LJbsVGlYCrGsFk4XYYmW9smK1++j52++RUhyLDH97Gydjf7rXBpsE++V1NQWDhZ3N9HdQGKeYriKdtN4rivy7F/29Q3jRpYmCW2u2xagPFzAAhhEa3x1BWoTM7sBKYteoGEUSh8YvXu8wM8yHurmx5ZYtUNt51cLhZibTX0HU1gdVmXJpq8vIiGtng== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB1163; 20:VPUAzuM59YGuW2rIhLTYve4Punfxgx1ogzYuIeiuEPwNoQk0wJWnoMk3COkcPd277FEmO2NOyGBimZUHky1rt3C/sv39SyS/D2VpRgEIdZyV4t0qBAWx95kCrSMXxCISoURVuTXZWEiged82qDzijp3OJJmQyXRM2d3r1M3YbCdsr9EYZtxSf4l4FKbmrYlVnmg1HHHlOGGEJX6cQbIhCkmleI2ldD8apgnvIcMDo8UBz3y+sZu4JeToh3XkptZ0plabtIeAWIfMQIMwclO2qLkIsYipHZxGe6NMffjy8nLm+cRZMbQO9NHpXAM1d/PMcuq/k/TwHex+mn05bAGDt/+/nzw13oVw4VutO7ouyQ34koMMSooQJMXLSmnKc0IepbRzNSL5L0lbeWqyKPL5AArEglsEc66Hujvbta7QJg1/Pp9t+mQrjddiDx2rDqLuMlsfbc634nenRCJCih/u7921flR21roKX7/70kAbk64bqcSkRBTVJ7qn8l4dvw0s 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)(13018025)(13016025)(3002001)(10201501046)(93006095)(93004095)(6055026)(6041248)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:CY1PR0401MB1163; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0401MB1163; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB1163; 4:SnpuIYOtDznuT6SbG9+OOgvI7HQ93D5g89/MYOySx5QLNJOA20Va2Y++jhdI0yhP/kq8s7bpMliLzZoNiDrs8zvD2A1MbdehpiQHbohhTAH8FwrWDuyNouCaMQ21uRWNqZNgsO8gRjCZBOubQeH3TFOF2ftPhEkQCXV9ONJsZ4R7LZdDMDU9mXPXDwHHp6dtGhyrrnn9hMugzok0b5lxrj47ApGJz6N2rVzEECSj7nYMsYa4JniHQGNKYzdrMG4CHNEsBy6XkAmMhevRBr3HWzd4N+cXA+h/ad06F1k/Q2rAJK9VlDd1UbIkofniH2W9VUKV52lw7n/1GR6yyhzY15iXiiURVhY+aOhQoLSDxp+Vb5U0FqkpZgGd4neekrQ85DDH/Vg+eUdt8VBMo4EOYmsT6K2XcMTo0NhbaNhjfeEfpaOJlp5b3Nxw/9s1xEhGK3w1MrqtWXZvI95Ci1QUE58UE5e7CJ2RzCPkIYFkf7rBwAzDMCJfjWDT0AGLSz7K5b59a6gEontGXDkqVjgO+9SSqOCeAkm8XTkXcMCtaF7HlHcsVs/KbFRSgA4oYw8E8RZ93qSzNFSvaDrNKEYdPIo/XSKYrJi8rwxVo3wrnnGO9of8aq2dQZMM5Ie4KaLkbIZmo9YhGEf0kPw8f1DDIM9+3Gw1OAS8VYWQVqraxVJNPHB4uxoR9hzmx6truPsxntqD5V/0tk9Jyco35WlQy+l31gBOLc27JYhZUUcEZ4SX2c2brywtTk2UMF6aQ8iCVc5Rhn6ShjnQVDZXWvHFMco9y6cKs9QRBPNc5Ziw8FAfql03jQYkPCadTIUrFBw60Qj5R3IiXXWLrpDf9z3LIxNGVSK0TKUFfFmBlYpsPeI= X-Forefront-PRVS: 029097202E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0401MB1163; 23:dQ+wHpmoeDd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SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB1163; 7:7OQ4qkz3q/CoL3OVhiKGJEfeSLBPzhH8F3HoJsArZHZOgVITg1HHKttx1dYZQHrWlkhd3QxBBtla68LhmLIc/qVleOdNOyCBgQvRZkjZSRLF9HRF9jxa89S2RYsl8kq8CB6/G8dzSFywgKEREIdOGR1OxXGwd2VVBExp60bK5a+mKobCnsb9f2J9JMRXtI6THrtBN8iUtgc4hduVzKA2pSuge7zpgT3S8Vhi0TKKITGMfaRErACa+ff4O30lxhUSMEi+LMxofXRF5uGa6LbxK2HLz2tHgIF4jJlFwl8hAfIS+TKCAnZkMKsIO2q88xnV8LltkgT2AKUu1/YLOw5Z7g==; 20:SaiuZVaivB4z2Zp4R20Pdj8X4YngCqvLlC0fOHAIbFQnEHCginx/Vuyp1hzWW0kubMAKtPJHTa3Q5A90k6bCdx//4t6BPruEnVfB9yLjNUUQCqGtMuujsY1N/rlprWFlLehqYVxuwp1fusqYylAQyBJ8dE/10mtvnDFg3iN2tNU= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2017 15:54:42.2353 (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: CY1PR0401MB1163 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 When analyzing e.g. queue lockups it is important to know whether or not a request has already been started. Hence also show the atomic request flags. Signed-off-by: Bart Van Assche Cc: Omar Sandoval Cc: Hannes Reinecke Reviewed-by: Omar Sandoval --- block/blk-mq-debugfs.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index bcd2a7d4a3a5..9cb673bc7230 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -308,6 +308,12 @@ static const char *const rqf_name[] = { [ilog2((__force u32)RQF_SPECIAL_PAYLOAD)] = "SPECIAL_PAYLOAD", }; +static const char *const rqaf_name[] = { + [REQ_ATOM_COMPLETE] = "COMPLETE", + [REQ_ATOM_STARTED] = "STARTED", + [REQ_ATOM_POLL_SLEPT] = "POLL_SLEPT", +}; + static int blk_mq_debugfs_rq_show(struct seq_file *m, void *v) { struct request *rq = list_entry_rq(v); @@ -325,6 +331,8 @@ static int blk_mq_debugfs_rq_show(struct seq_file *m, void *v) seq_puts(m, ", .rq_flags="); blk_flags_show(m, (__force unsigned int)rq->rq_flags, rqf_name, ARRAY_SIZE(rqf_name)); + seq_puts(m, ", .atomic_flags="); + blk_flags_show(m, rq->atomic_flags, rqaf_name, ARRAY_SIZE(rqaf_name)); seq_printf(m, ", .tag=%d, .internal_tag=%d", rq->tag, rq->internal_tag); if (mq_ops->show_rq)