From patchwork Wed May 31 21:30:47 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: 9758193 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 8782160360 for ; Wed, 31 May 2017 21:31:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79DB42097A for ; Wed, 31 May 2017 21:31:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E8C7284D4; Wed, 31 May 2017 21:31:11 +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 DA4CA284D2 for ; Wed, 31 May 2017 21:31:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751078AbdEaVbG (ORCPT ); Wed, 31 May 2017 17:31:06 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:45483 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbdEaVbE (ORCPT ); Wed, 31 May 2017 17:31:04 -0400 X-IronPort-AV: E=Sophos;i="5.39,276,1493654400"; d="scan'208";a="118866339" Received: from mail-by2nam03lp0050.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.50]) by ob1.hgst.iphmx.com with ESMTP; 01 Jun 2017 05:43: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=+15/rwIBC+3vprF4zNWcSM8O7aofhKRt63rB1iIPESs=; b=mXj9ttIG8HfFlgMZPpmATXPTjgrYZnCnnN1UDIXWb4SHRtyFowy7bsUFd6KH9zYs/Qd8fV+yWAZWJIaKZ0JCEsI//VZkbLczwL41m1joueO+w3pirrJ88RrB4CnIAvQEAsjUM9d8LXuCr0llykE6BiEzvise8y/p5EgGFAVa8LE= Received: from BN6PR04CA0023.namprd04.prod.outlook.com (10.172.194.33) by BN1PR0401MB0916.namprd04.prod.outlook.com (10.160.78.21) 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:01 +0000 Received: from SN1NAM04FT006.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::202) by BN6PR04CA0023.outlook.office365.com (2603:10b6:404:cb::33) 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:01 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; kernel.dk; dkim=none (message not signed) header.d=none;kernel.dk; 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 SN1NAM04FT006.mail.protection.outlook.com (10.152.88.166) 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:30:59 +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 02.C1.51736.F063F295; 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-39-592f360f31f0 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 74.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" , Omar Sandoval , Ming Lei Subject: [PATCH v2 1/4] blk-mq-debugfs: Show atomic request flags Date: Wed, 31 May 2017 14:30:47 -0700 Message-ID: <20170531213050.30276-2-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+NgFrrHLMWRmVeSWpSXmKPExsXCddJ5ka6AmX6kwdqdLBar7/azWaxcfZTJ Yu8tbYtDk5uZLA7fu8riwOoxsfkdu8fls6Ueu282sHm833eVzePzJrkA1igum5TUnMyy1CJ9 uwSujDXbrzEVXOCueHzmEHMD4wPOLkZODgkBE4kzDyewdTFycQgJLGWSWHl8KyOEs41R4sCF h8wwVU2Nl9khEpsZJVau7GUDSbAJGEl8ez+TBcQWEVCQ6Pm9EmwUM0jRt3MLmUASwgKOEkdv TAZrYBFQlXh26RBYA6+AvcTZTQsYITbIS5zdshNoGwcHp4CDxIGlfCCmEFDJzJnGICMlBCax Smz8+Z4dolVQ4uTMJ2BjmAUkJA6+eAF2qJCAusTJJfOZJjAKzUJSNgtJ2QJGplWMYr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report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(39400400002)(39410400002)(39450400003)(39840400002)(39850400002)(2980300002)(438002)(9170700003)(72206003)(50466002)(2906002)(38730400002)(478600001)(189998001)(1076002)(48376002)(76176999)(5003940100001)(50986999)(356003)(305945005)(86362001)(53936002)(81166006)(47776003)(50226002)(8676002)(8936002)(77096006)(54906002)(106466001)(33646002)(4326008)(36756003)(6666003)(5660300001)(110136004)(6916009)(230783001)(2950100002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR0401MB0916; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT006; 1:6TDBMjhF9Jb1d9HtpGlhrnmsJIlXnlN/I8/jwO7j+W+W9erIlrxtbuOTNyPKs9J51SRJkReCxzbGKdmF3vLVKx+lKbXHZ42zsN4Dba/OBQYbbX4j2TNFaHKsF5lIW2fgNRmowMIMfvSzU3SsgetunWMZdD/gR/bC3kNHUgvMsrJ5xNh0nZDlMre8OJdXfw3OvNc1abv6+hILQga43l9u9rBn+n6s+wiXbhMMhhZeWoNcpf3OUsA5KXPgBAPdp0AoSOkU/wYDSO5nMfmv+Q1X0L2nawqwZ3k1dohfBmtNG2sy67kPPRXHjB59yP1MtLm+MljPZIp8IRAZN4o9TeWyC8JjyDI1izHHrxaXDpWqw/IvX5XgIWgnSVpGxW1YqoRoZqtdmjdbIwnVFaSFWs5eO5H1E7rl8mMimt+WXDjNdr0Td0TDvykLKKNMwwwIJcvaVj3abz8V+b1FJ9BSUg9w7bAsev2T/+1hNpYF3LxTbOJ9U9Ivcut5d2+w5irPx3OuXO/XMueDV4t6qOMCkFqE9w== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PR0401MB0916: X-MS-Office365-Filtering-Correlation-Id: d1e15044-6fc7-41bd-2b5f-08d4a86c5578 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BN1PR0401MB0916; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0401MB0916; 3:40bjHB6vu61YsH5TePTRVCqshpAAKClao6QdfA3fH6BFwD9xyOoOQnsP3OryhnY8cEo+oHmi1ffHNGMkmFVA54LHydP1CSqGZJvZ1eLceL+w3q4sxSwNLshStFwQ4iUtYaw0I2Te405GyGZJ2qt6ePp4cMRdLvUVOICQHNaDaULBvZpNbVMJROxQZFulFPq21TohUzLfnQSPQGa1H8wtJbOtWxyURXlQe1GDMXZeQUNrhb7n+5d8/1H09QL2lc1mIXjDSpj1WK71n7ThZ0D2t/auVWTxAtAGAb9BW2a0uLHn0Oo91dVziQcsUcev4bhEoIhmS90T/jL/NYGX+Tni8j6yroKNbTDqFIMgDvEgVIA/u6DXldP98mVjEuhN92BNJsnDhwRbq+/OkN8GTsoBYCjAtdOtJCdjGhL1nHYB1oXFoPUWTuzcj6R31s7bGhjvugYTx7c+CmjUthDpuDZxskC+aTzHnjSDN10+atL2eqMuyH979DFJtVU2HCtxRORu X-Microsoft-Exchange-Diagnostics: 1; BN1PR0401MB0916; 25:jy63WPl6lHlQL1pLilI5qiJTetZM620YaxUENFx+qh+1F8CqMunGOdJEa+qlbGmSrlXBRYHzeRpFzI6cHVsA8G6ZZcwE0cGlN5kiWRHYDVdbdCGpSP7jxeFKxnb+zSezxjw6HoWGqVHlOJrNu06O+i57Ig51je+bcVYhZVGlWu5FBMJWi3672jntGcQHgBC5b6MnGwsOFoqkRv9b0PKI19A9bLlgEkm3Z5jFPK0H/yoIPvBfhu6Z98yx8XryM7+vMVV+7DZ51HxohiCeYvi9EXTWYVvnRWOxLXxB7swEp8Zamgj3wrtdj5xGAEiZzE4Afv4G8L5DJ/EG0Qc33pu23HdRs31NUfb7UVP+xTjoJkryU3Fwljqu3FoUzbsi8iGROM4GhSj8/y/BbTMKxWVmyMND/spnpF9KZTtTU3oUba2GM0/JAosyRhWRuRoqTyGFhguQM8h0OrDHDsRJL9EfooD90C56NhF4+ZTCuEizwR8=; 31:geUTr0W2iWm4KlGYXc9svX6BHyBAlrwiZe7BMrf5haImjzOXHi+/2anCs2ovBrVQo3qq97DzEdwd+XxTsOz1rNPRrqd/2gXK0mIqW9NABdftSEewURpq/IN/OnTy20Sa0q/eCMBzjMaRQiPzs77xtTPadA+jIxEdl6mNqvE53Wr2Jw0qSuHSpjBSkGzGuOloWvx3kPe06+WMc3gIZmo0NK0c4uJYNUHOQZ5TuISYcmN+MVnWI/s1bdChOjaU94SL WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BN1PR0401MB0916; 20:fozf1TTQUvxSpgT4sMXlpjGbWT3E1hx5Z7TjSPJ1QLSP6z0e8FttilkMUK+jedeOtYROM6vigCqi4TDVAKbkGX6p4nVUG6iMRnOqDefvuxMHV+9zKOdkBCniTZLh5+JCqbfC0ct2VSR9rTxcwg7w3l/nzw0cklKqSaiVsGU0IFwLiQUfVYJVUUdaEP99WdaFuJLdF71yJVzeze0BABWPMTGcYplu8EboTMAvWy/TtKXqr4jMpmSshayo8pIZGDnarIDkGnM2D2DdND2pYfImknBTMh99MCDCv0xAGBZGIIGv4G9Cq2QnYTDn/lv839H5x68r4KEbUlLDWQshsX5on9uapzYED+MS7N5xqU0ocBNaH0rFkvRc0Oaf4DZNvrj1iz7kEVQ/ZB4hAA3u0xyeTcQNCpPqsjpda/hebASUCYEJRLb0WDbgK8OM2gLibu89MDq2dYm0UnQuLremgEJ05Pnc7Mtl1E9cKQEBLaCPfwMcDHrVahKS5zLA4EpdJb+e 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)(5005006)(8121501046)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(6072148); SRVR:BN1PR0401MB0916; BCL:0; PCL:0; RULEID:; SRVR:BN1PR0401MB0916; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0401MB0916; 4:+dFy5J4IGK59jXYy39PeSmlkh100BSfz7hoXHgDDct+bnG5YHLB5ni2/BoKEUwuxX+txY5tyGwVz9isF6KRL5CBp66EY3IQxACesITNVYhLuxXp8cxv6pIUvEKMP7PczItzIpKH0F/9s21uFv9zcOgcSvjAiD7JXqAE1b3kdGpaj2Vkopr6tNPvwVWIUWuwuteJJy+j1q0yF/7U5sh6tEHhv11OkkaBl/sswA8XISjXQ/PWStAa6xsFMH2EjBvd38eZ3fl2SsRnguIGcdAHdZxAGLlQ0AXEmHdkb/kUJMrvESn238cBDG5LD5xmzwHURYmwpkUmPa9SiAi5i1J3CZN2VcOUV62pS8eOHpBTSiamLn9XQTYUvPRr3cPIgKnq2xDStF+8BlT5wkJAGGPQO1m7gut0NcSmcy/oIZemJbVXM4S2Gf40swchJzU0BRAHjv6bqXeGdk1XVIlgywGOOH0i6/WfppVu96g0V00t51MH7Z7YDJT2KEtibXUI0EPl3Jo8qBzH6N10UX456qM1FwjmqcvJay0viaKAeIb8rSlP4PBNQcFgrTfFQu2mDcV7vBQuXcwLQ2qGtXOQ/kpTxujOWsGM8BlfxFqdJiu+Oa/3q0Ppt2jgDAGfuwQriD1uK+1ukVAFRxsQSoHGS54DM42mFN6UlGYaW5DMIPPY80kWCBTubKn+e6jdcOIYVCeKNMesQ/ee9+/PTRTACIj7ZMjvhNujmvGfmCIO9U78+NwYCMziv2Pem0Y3raIcC6D8yHc9bj+jLgNOd7B7Vk6JcgQpmpeBh16FANRQPeIvgdtG/N+2X7pmfnbDPP3MggEa0PeXh3XYFXd/te7fqQjOAXoaY3Q3Egh7F+rmP7wvAkJRFrTAsvacUAD9OdQJoYcMDe5SrHvuiqfj5Tnwo32GBuK3WW00nlobc08JyIz12 zQU= X-Forefront-PRVS: 0324C2C0E2 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0401MB0916; 23:Ut54Ya/810DfRAVIKSb+5Px4kSOSHJQJRLoHEfW?= =?us-ascii?Q?KybaPYmAdPJsvbDSzW+hvOZeQXBujS2UJIjM19GjAMTf/YtlfCj1vPbOKFpe?= =?us-ascii?Q?h9L4IwT4Ule3S4myZ/1egvyFvk1UTbg10/e1cd/m8P656Lls579h45v1ikhj?= =?us-ascii?Q?at8PF+I70MmQeZq8IQAw/9WGr+lO0vPB9EU7zHSBePpPrPkUkSXY5NZsvtCW?= =?us-ascii?Q?r9lIiKJmhsN5k2FsBG/fFLr/oFDd5kkCvpTiZXNlk7euJrb00tA6QIPqtZ0k?= =?us-ascii?Q?0i+493k6ocb53b9YGLEs0uEvi/gQ9mWnNIYg3JpGJzC8RQ1I5DCHVkys6D2s?= =?us-ascii?Q?wpBJ8d1fXCMkmx9LMuzS5/I9vfcXi0MeoeFKcV9DMhxS6Yg2TfMWNbNNb8oK?= =?us-ascii?Q?jmcUsJwIlgtIRlLaM+qj57tn0LypzOya6oYhPnPr9LET0o1/kNNzopyVVDjX?= =?us-ascii?Q?gTLIucgXHfLlAJT1FJLqFD0iCjAjwwxVBH+JhR/2RaIdjkR9+QT5ECfnVSCa?= =?us-ascii?Q?v0nqMgsbwD0xrbNyfqB76946HT7feQRbq+fh7x2Ra4PoXeU5LMzpy9uslp/D?= =?us-ascii?Q?6c9ZbyZqFjYSZmC+FFdCRtnjUa0tGvlFjXDc3F8K+cDRVDp2KNa6JHI7GxTP?= =?us-ascii?Q?Uzt8cXszErwGejfHaBGXzfj3JuHlstOp19UmnhexVwdptq+cxA1/AdtkOsb3?= =?us-ascii?Q?pUdS2BODJL41B+F/L3V3MEW05ID7LuJ44M0htzYza+8kDBEvMjIMsl8ty1vd?= =?us-ascii?Q?OH7jjAx48MweW9pJWwzB2Vcvr6s6pEeJFBi59J3t0mKEfgHfwwCW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Khh1ptp+8EO5YhTGfiQ==; 24:cyWKSIsYTsmzCvABCr99QXE9bb+OFvI9ha2Ts5dyVydv5+R074ACoDnnMp/6ufgMj4mbPkUxqObbva1kTpj4yxpmU3cI1in5BRHlqqg+ZXI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR0401MB0916; 7:OPpCaWFwwXNPFLjK+zo5A1QQOXvsLrA9defqVI3DQbDWSb4+lbqygTkzMytv7I40y14sHUcdcm75F1vvK3UnuSSJqmjHma2POLU3HpbWaIRUx7RGUqJDfLgKkly7GCBEcZyGE2VM4cc30cRHV7Nu8SWjPuNBsc3K1mpuBBWhW0fwB8opnRUavf9IwEBgKwiwRXRdiApaP1yh9TpJI39Lz5opdKoApbGX3VEBS0WKwY5qwcwe69RVaHZKxdGppcF4ix72XHlJXxiGkUw8+WkiUgbNXB9aPmOWZtT1tz/Nmre5ZdQOpU4GZMO0EoMquZvF5pu20OC//Xnfr2aEyZNfWQ==; 20:/XygrrQqs4mErJTlbF0UoPVDfZANlZg5Eci9m3wUjlFAUusA7fumPGEQbm5Q9qEJbhPgyxSGiVznUjF6vJnxljN38J8N0bQTbVECShqcI05OW7EDR+jL73qj2QaOStKixbL6HSS/c3oLYny7bf4s2iv/EzxpmrDnBKUfWw2q9DM= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2017 21:30:59.2719 (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: BN1PR0401MB0916 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 Reviewed-by: Hannes Reinecke Cc: Omar Sandoval Cc: Christoph Hellwig Cc: Ming Lei Reviewed-by: Ming Lei --- 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)