From patchwork Thu May 25 23:38:07 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: 9749427 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 43C3E6032C for ; Thu, 25 May 2017 23:38:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3575D28381 for ; Thu, 25 May 2017 23:38:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A08E283D9; Thu, 25 May 2017 23:38:45 +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 8752F28381 for ; Thu, 25 May 2017 23:38:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969360AbdEYXim (ORCPT ); Thu, 25 May 2017 19:38:42 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:37424 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969356AbdEYXia (ORCPT ); Thu, 25 May 2017 19:38:30 -0400 X-IronPort-AV: E=Sophos;i="5.38,394,1491235200"; d="scan'208";a="20426407" Received: from mail-co1nam03lp0015.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.15]) by ob1.hgst.iphmx.com with ESMTP; 26 May 2017 07:38:19 +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=njF3PuoEwlI5wpMlGoWFQMRDvWHbWt48oAPfB0VnYXo=; b=maoI4XD2fWIp9K3DtYez0E5d5J4CiQ/15Fb6FnMn+V31E0qN2P3+SjY2Qbr+995Bw/NUS9/Fi18fOgC7IgNfgFqjCKCNIFZPPk0MKvLP2EpN9BxO0KJGUdPpBhsWkJq3cZVaO79DsrilPLvwyPmb7gMsFvxSLEm0MjDuk1YH7Bg= Received: from MWHPR04CA0104.namprd04.prod.outlook.com (10.174.173.45) by CY4PR04MB0504.namprd04.prod.outlook.com (10.173.190.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Thu, 25 May 2017 23:38:17 +0000 Received: from CO1NAM04FT023.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::207) by MWHPR04CA0104.outlook.office365.com (2603:10b6:301:3a::45) 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:17 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.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 CO1NAM04FT023.mail.protection.outlook.com (10.152.90.148) 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: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 62.25.45291.7EA67295; 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-4e-59276ae767c1 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id F5.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" , Omar Sandoval , "Hannes Reinecke" , Ming Lei Subject: [PATCH 2/5] blk-mq-debugfs: Show atomic request flags Date: Thu, 25 May 2017 16:38:07 -0700 Message-ID: <20170525233810.23211-3-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+NgFnrGLMWRmVeSWpSXmKPExsXCddJ5ke6LLPVIgw2TWC1W3+1ns1jwZi+b xcrVR5ks9t7Stjg0uZnJ4vC9qywObB4Tm9+xe1w+W+qx+2YDm8f7fVfZPNZvucri8XmTXABb FJdNSmpOZllqkb5dAlfGriVX2QqOc1c83PeCpYHxOmcXIweHhICJxObtvF2MXBxCAkuZJLbv 2cgI4WxjlHh0/iBrFyMnWNHhbSeZQWwhgY2MEt2T7EFsNgEjiW/vZ7KA2CICChI9v1eygdjM AlcYJc5uEASxhQXsJA6f/w82h0VAVeLDsifsIIt5BewlmtYWQoyXlzi7ZSfYeE4BB4kpT/aw Q6yyl3j+qYkd5B4JgUWsEs/nfQHbxSsgKHFy5hMWiF0SEgdfvIC6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ering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39400400002)(39410400002)(39450400003)(39840400002)(39850400002)(39860400002)(2980300002)(438002)(199003)(189002)(9170700003)(50466002)(77096006)(53936002)(47776003)(189998001)(54906002)(76176999)(478600001)(305945005)(1076002)(5660300001)(72206003)(86362001)(6916009)(106466001)(5003940100001)(110136004)(6666003)(50226002)(36756003)(4326008)(2950100002)(81166006)(230783001)(38730400002)(48376002)(50986999)(33646002)(8676002)(356003)(2906002)(8936002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR04MB0504; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT023; 1:ZhZQr03r92tjyjjnsLmTS28U2b0p+w37kiqoKFATl2HHpWmIGjngIDpKtle3QrKe8zoe0MFgBpboD5PcxnnWpKjiRGqRPx5g5uWfnxqUEpjc5GSFNavaLCbVotdH1C48h3XkIoYinhOr0JN7vN3vtAACBlly0U3e5H65uohhwyDWk5sKpB3juXe1AtXqHmQerYFwIwx7y0zFhCV1ildnriY0ifkyPhP+aAvubR5Y9jUMJjulVyGze1XggWlCAnRjZ8Nm5E2Lo47SHfilkxAcoG2UjibQ0jlnfl6GEVBtz/gY354rZOywUi7OHx8eHFXHCrmKsxvybXcZz87lMuigGZ2QoSxnmRILn24R+T9yERAsmn8q+dU2Ot93wc9iosrtRAh4lhvGOoYCvnBnFdykeSkRGO1cosxTjZPnhtW3LPNpCycYICxcBV41CKLrpK7ltbBzenIoscQoD085MDwtLMlGKrvNmCRUTaxB+vdm62WeAJa3maWrXPDDcNijQsOjBN+qFghe0d6KFSxIaM7PahagmYZZmXe2F80PoS2cumg= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR04MB0504: X-MS-Office365-Filtering-Correlation-Id: 9957c686-ffc5-4649-e29a-08d4a3c71e83 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CY4PR04MB0504; X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0504; 3:NMeXTK18E170NBAsalJp9L+QXEoCbvOPCOBXZTYqNh6kNrrhLMXNWKrCruZRXjZ9rBfAK/c3qdiZWIekct6Qd6nVKQm2uQsY6Pp86KxNmJEvUGZh3cPCg82D3wBn/OcztgA94bocaFD9fbx2riM0mvca9DSIgncydrzPbvIp7w4jzI7ATVAoZP6sKgvsNTpu37S7rHIhcxMvl26lR7iZQKv6uYLSQXN2yWslDK0Js0osGXq7TiTnhkOofFkeO5I9dssFIq2oLuFNNU0guXa6QcxloGFY/qH6Bcd9hsFBTBd1Rp2U3DuFV+kjoJX/o1QsJH9B3Oh/bFe26H8J67makrHl8JFP8TbU38IprK3PXh8PH2ox6GN+wrCafDCS/lT+I+Wb4BN7BrKgVlLakq0bz4a9gGDyiqHQLT9FgXG9nhkQoQ6J0uWnyUwDNiqE26jZuFEpKotNuxWsQgLEr6dPbshXDXhvj8RuqjrimYYueP+j8ayYZkK/KyRp9pMlKLBe X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0504; 25:srur+rCN9xI5/p6AeDdHNhQwHbPTJ6VxpPokENXWh2hdmwu1t2H+db0ZBSWDfF2HxQau85eJvRh6ZN9WXnmvp4xaI3SZgi9wGhv8A6BkfCW13kSFIvyHMUM2zm0k459CWXYFX/kUc3OVxZo9C5WPDUV5TM73e3BO3bQ5gxP+jV0gLMLDWySpI0Lgh5NFK0SMVQZbZiXljcpwG/HnbsdK5/b428o03xRUJw4OXBW0DEMqnJz4fS7b1AMnggB8/gG6wclCeNDyuOCpEzKztnAbaIoTNE0jYpayRypwULmxdCIXxd6jl07pYLx/sKQOl8TmiZKAWUH5vH/inzIO4EVOyCRWZCc9lILQ7Pk0xB6rpyWobIyI987wNvyS8fMQ27rqYmhso9+TmbDcC0rIBj8kNCWz52q6vx7hFg0Xrjr9nXCTgiCz8TbKUgCTLEWhrKJlrCFZEZ8a75gMoszuihY5kbAX3tzT+G0UjG//VHTDFQE=; 31:8cZBMyNdUQFq5ySblmDS8XFFB844RWFYj43ONxujHwzgy79kdXW7QdDe0RidYnrJ/jQjVDg6ASjE0G4cI/qwMtshk3shTE5wWqm7kWXX13uEQ5545ZlGNtyngU354cRE/h7C9BLHd+2CHqL36J7lbPvG/STpJy+XB+dPyOt/Bk8DcJUJDYfh22/yaf2mYQwTdJyX9dS64DCMY3tG2Mlv33yNwrA/F1kCSw83qTDKPQ0M7OUnehqXFgK10Qltheu7 WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0504; 20:35rtbpnJjjz0ziOqoFOqSoKU1N1jdKkLYgoDSeboJmmosIczgmzdaGZdldwou6t50cXDMxod4wbNz4Hg8YKM5e7ZcpWNsbkqpExp6oQcQzPmxS0gWqIs0HDv6ZxCzECIxtE8NVtGHeC/HrN43725YmzOGeiesdBmzO8s51ma8oe9zA/+ZHyW8rMmtb5jiVvD1bJu7VonnOGy7QOIRCCI0R4wDQM8rehvREMHMwMC+GMDq/xMvHrKRNrlG77adSH/SAGM0OKkGow19huWB+eCuU2J/M7FuwKImszRjVZKXv5Q9tSGgdISXvL8O1LyeD7HZ7QjaahgCeoqwTDYnXdzJeBLafNG9bbM8J/ZMZfY6QFoyvfAkTWmHXte/jbjZk82G9MmNYd4JOSHKIYAxtYLenlcwGJ8Z4J+YWIcxA42//eY+TUDvDOS1RA2tLcAGzLy69mMuDsQfoGBPEA6u9ikBca68V6tfQfJ38WFdyFVesfP/en0DWKRkA2E1wgAi9E7 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)(13018025)(5005006)(13016025)(10201501046)(3002001)(93006095)(93004095)(6055026)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:CY4PR04MB0504; BCL:0; PCL:0; RULEID:; SRVR:CY4PR04MB0504; X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0504; 4:DM7bGRf9kJZFe17Ty9YixMvpS38t9tfYmMCEgdCuPgtznIvJz0EEuGRX1y70HE46gxXZXGKJVXNuHfTsikUJfzhCt23+WoseW9nncUluhPHpOrvyErbUMIOnKDNK/mBRiklaCpX8ebw/VDaLBGgUVLt9TKByaC1JPEYujUd7FHzNY5nD6xo6OULE4VMwbYVSfLfW66eq2FF0+5ZwGVsUgdYwvhNaT2P7ZXIxTsgVYYge/Emoxf6DfFAaq8buOVJu/Ojs2Q3H0BiOdNb8vL6N4zbuiMJLVp06oPkzq8Xk3CJETAbCjXPduHESMvrpkk6stYAGb5g8KTVnhHyrOqm0WnQPjQ4JaCDXoTSVNRzVxwbqRLw5TDcNT4adZNIwEzRBfNW18UuonZAzcNccDNLXElLgNYOS88G+Cg6TRj34u4qm/M2Shtlt2ClSpFPHU5yB7NAy/DEf3OVvd0m3TFMjemju1kNrkUj6g3GszgqvkuSHHzQtyo/818BTu6vY50G5uMyzPxEJ0iB77sWiMpllAFVPmGBcZXEY7IyLHIXYn+glrAPLAeSkg+SPDsb6le2/lPKlnnTRmHwRi9JG3UAkKFijJ+MmXs/i4kkKh0NI0qNXhvbCqiVBDLy5DiVkEngS33+9KqR6++y5vmp0R6Z9VqL/i7lPy+qkddi7b/h28/e+vIwVYR3tnUPQMlYbo/vupodjYP9gH+5KuKupTF75hNrGKOL3OFcXsU+7gT8RTStpOPkTVnp3JLNZN2NoKwAZs9WOY2XJe75TZKtFW/l9qjolLxS2v1JVTLNFtnIFnJeMoMExq6/iQBxJ+luyMji/yRbsyAJ/GpM9u+OQXh2/SkJUSLEfejoTq6+GvQEpT2iaCkbjTYR76uFyTqsnU3LPIY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dneLAh63TeuRaaZocDohYAXZcLn/Pl540JucLsjCPej/9Ft6EYJ1fiSoRlH9Q2Sa1RgF43tuRWxl7gPcU/xb1fZjSTr9UfIafOZ1DDNKdhFp3XINDuGM0F7Xt0A==; 24:LRbzx4wEZ5kmz3h1/StOmE03zrwMhoECcPcKl7cd0Or2k3IBrJf9mVvllSJoyIYh7F3thoOdGO4mIwOtaUSwaAVnS258oO9ux2VwJTByCIk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0504; 7:hBaUIzxTkkAhopUpVTXpRrWVlLcSdJmbAm2MZ0U9eK4eBXiE2z5eMS8Lfh1cEJ1wjHdsEsu3WhPAfBnz+WgFHEEQBEoOO00/Vy38uCOfXgApojCfRLg8r5HdPIqyo2lCMfju3QzHWqvGK5VWvPnFH8ao3WKLkhiDx3JF16At9/SSJtwUUXrYvMpW7lKE3029ibUiaQ9EO2k+wve9KltrKNNVEEThZTgXEFIF2W3lCZstvQ1azezxVg2TGIV0ORPFMN4sZD6Z6O3IvlK7EDfe28/SCaJJsthnXKBLufYJgSGHFxfFcKmmYZzmqJaG+jEEgNyup7Z7ILQD8mrRpJXReQ==; 20:/GHS/8KOSbDliV+8pJdz/upjiugqTe3W2ICRUEGa5sdaDTq3mwTcxt/xUEXpHVp5e9eMg0CsMsmSmdb8lfXrqI5hGUIfL8hyfp0F2Pj7DF2jzvcg3s1rD2CerhOL2FzN+nKSzg82IEf6mbn9+YNZbeGqvTT+kNsQ1X87X7dImg8= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2017 23:38:16.8111 (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: CY4PR04MB0504 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: Christoph Hellwig Cc: Hannes Reinecke Cc: Ming Lei Reviewed-by: Hannes Reinecke --- block/blk-mq-debugfs.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 803aed4d7221..d56ddd7a1285 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -267,6 +267,14 @@ static const char *const rqf_name[] = { }; #undef RQF_NAME +#define RQAF_NAME(name) [REQ_ATOM_##name] = #name +static const char *const rqaf_name[] = { + RQAF_NAME(COMPLETE), + RQAF_NAME(STARTED), + RQAF_NAME(POLL_SLEPT), +}; +#undef RQAF_NAME + int __blk_mq_debugfs_rq_show(struct seq_file *m, struct request *rq) { const struct blk_mq_ops *const mq_ops = rq->q->mq_ops; @@ -283,6 +291,8 @@ int __blk_mq_debugfs_rq_show(struct seq_file *m, struct request *rq) 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)