From patchwork Thu Jun 1 15:55: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: 9760047 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 48D4D602BF for ; Thu, 1 Jun 2017 15:59:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38E1A26E1A for ; Thu, 1 Jun 2017 15:59:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D3CF284F9; Thu, 1 Jun 2017 15:59:03 +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 7E3F726E1A for ; Thu, 1 Jun 2017 15:59:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751673AbdFAP7A (ORCPT ); Thu, 1 Jun 2017 11:59:00 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:57702 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbdFAP6z (ORCPT ); Thu, 1 Jun 2017 11:58:55 -0400 X-IronPort-AV: E=Sophos;i="5.39,280,1493654400"; d="scan'208";a="23153226" Received: from mail-bl2nam02lp0080.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) ([207.46.163.80]) by ob1.hgst.iphmx.com with ESMTP; 01 Jun 2017 23:56:00 +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=jpvKqjJUyqQ6ZLac4Ok9Pt1L65wknxPJdUapaYuNQTA=; b=gk4mPmXuivAwy7zHC+5QFAZSHXyLtRVw7fSS4GHpLToYTgqGOyGtGplWzuQWYmKSlhUJSAcbuSn4y+6CqlNs08EuSCDpfJ0SrehQzU8KxYKPdg8TL6Fa78nxLYViCMqWU+Ikk2+cKUEEv81APIcEQub6ASMCAjOHNJD6N96uTfg= Received: from CO2PR04CA0077.namprd04.prod.outlook.com (10.166.88.45) by MWHPR04MB0398.namprd04.prod.outlook.com (10.173.48.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Thu, 1 Jun 2017 15:55:19 +0000 Received: from SN1NAM04FT058.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::200) by CO2PR04CA0077.outlook.office365.com (2603:10b6:102:1::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, 1 Jun 2017 15:55:19 +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 SN1NAM04FT058.mail.protection.outlook.com (10.152.89.64) 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, 1 Jun 2017 15:55:19 +0000 Received: from MILHUBIP04.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 FB.0C.51736.6E830395; Thu, 1 Jun 2017 08:55:18 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Thu, 1 Jun 2017 08:55:13 -0700 X-AuditID: 0ac94369-6dc8f9800000ca18-26-593038e69a0b Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id B4.7C.11415.2E830395; Thu, 1 Jun 2017 08:55:14 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Christoph Hellwig , "Bart Van Assche" , Omar Sandoval Subject: [PATCH v3 1/4] blk-mq-debugfs: Show atomic request flags Date: Thu, 1 Jun 2017 08:55:10 -0700 Message-ID: <20170601155513.26712-2-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170601155513.26712-1-bart.vanassche@sandisk.com> References: <20170601155513.26712-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGLMWRmVeSWpSXmKPExsXCddJ5ke4zC4NIgzsNKhar7/azWaxcfZTJ Yu8tbYvD966yOLB4TGx+x+5x+Wypx+6bDWwenzfJBbBEcdmkpOZklqUW6dslcGV8mPCIveAm d8X7CR3sDYwvObsYOTkkBEwkHv6eydLFyMUhJLCUSeLUk+VsEM5WRokVR78ywlQtnvSKGSKx mVHic9d1FpAEm4CRxLf3M8FsEQEFiZ7fK8G6mQUmMkpsn3aHHSQhLOAocWD5BVYQm0VAReLe ip9MIDavgL3Egm+7oDbIS5zdspMZxOYUcJDYcHwaWFwIqKbt3yewzRICbawSa9adZYVoFpQ4 OfMJ2GZmAQmJgy9eMEM0qEucXDKfaQKj0CwkZbOQlC1gZFrFKJabmVOcm55aYGiqV5yYl5JZ nK2XnJ+7iRES2pk7GO8+8T7EKMDBqMTD+0DWIFKINbGsuDL3EKMEB7OSCO8RTaAQb0piZVVq UX58UWlOavEhRmkOFiVx3nMyUyOEBNITS1KzU1MLUotgskwcnFINjEe19z100pjg/XX1/Fda 1oG2ummxx/fFLVr+ePvfzEcyPeVXouqmv9sb/otRf4mnlcwsmca/21NDXwcpHJD31Xvz6MKU Sb6b44Q+RUh0vl0/Ndo6ajpT+G6mLzziMzc5n4hyembzZLuCL99BDeXfm6xS5u5ZXpLBv+vp 2hUcCcnvXun1v22d8VCJpTgj0VCLuag4EQA0EOMMaQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKJMWRmVeSWpSXmKPExsXCtZEjRfeRhUGkQfcNeYvVd/vZLA7+bGO0 WLn6KJPF3lvaFofvXWVxYPWY2PyO3ePy2VKP3Tcb2DymrTnP5PF5k1wAaxSXTUpqTmZZapG+ XQJXxocJj9gLbnJXvJ/Qwd7A+JKzi5GTQ0LARGLxpFfMXYxcHEICGxkl5p+7xg6SYBMwkvj2 fiYLiC0ioCDR83slG0gRs8BkRondL66AFQkLOEocWH6BFcRmEVCVuDn5JpjNK2AvcfPodBaI DfISZ7fsZAaxOQUcJDYcn8YIYgsB1bT9+8Q8gZF7ASPDKkax3Myc4tz0zAJDQ73ixLyUzOJs veT83E2M4IDgjNzB+HSi+SFGJg5OqQbGC9UndJc+2X3Mgf/ZS+OAg1v+73m9+8++5W3qphyr mo88yjv5tefVegkOAV+Lj/Wn9wXkyi75v/bzhdzrG4IUA1tENs+27TM2uRyT69Vg/udYr13o rC33E7Int1+LX7iFbSIPq/muXMZJ7fEe9264mVjZG38JWs3SdEkimaloaWvF25ic5R5MSizF GYmGWsxFxYkAMSQSGLgBAAA= 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)(39400400002)(39860400002)(39840400002)(39450400003)(39850400002)(2980300002)(438002)(199003)(189002)(9170700003)(38730400002)(305945005)(36756003)(2906002)(86362001)(189998001)(478600001)(48376002)(356003)(1076002)(50466002)(5660300001)(47776003)(50226002)(8676002)(76176999)(33646002)(81166006)(77096006)(6666003)(50986999)(8936002)(4326008)(230783001)(72206003)(2950100002)(110136004)(6916009)(53936002)(5003940100001)(106466001)(54906002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR04MB0398; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT058; 1:+UjHSWAWs4XoLmj2W01xap7v1cZ3F4uM26Tk5VJkzEc2wszs92Zmin4fZ4ibvpoyzxzP+kLYdfbnIKTz2soUkukbq10DnwG652Y9RM++tgS05Qz/ouXWOIBKubr0KA0pTEDqEog564HjP83pRTifBsuJRUgW/cWrJJJzpRIcCtv+1duX7Fiz6b9NCzDIIDtSgTKb/ZH7g6LvvJIImPcpFdGbyO9IJqnLcwFCRSTKcdhvCWmojC9uligyqESkrLauNpxjNWWiGXoXmK4ojQkVd9jklbEHqvawKvhJr1UWiU0aj0MnlB66ZnmOQ7XGsQH23PT//LPXqwj47ixrr4qlxStO4BvasV9LlGsDyiHDBMKz655RiOWou2CJzFJUQZlk2IjnyJj88m/mCgOd9w+5Fo098DNXn3hs3DdYGXyHVHuOQ5EUz7Q9TfhT0Hp2a/ezUZXFZHgXuZhp4r8RqpyhWHIyMcMhVzYVLqTigcYMEw2+hNXJZhxakG3em9d2iWnJUyVB3A5rpxU6++6/FzKN4g== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR04MB0398: X-MS-Office365-Filtering-Correlation-Id: db83d399-d9e3-46c0-8822-08d4a9069a9a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:MWHPR04MB0398; X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0398; 3:w2JzQx7T4ML1pkZhRxixqPSgkpd9Q4I6a+fmFCB15x9oLsf7atT68KAZOGn5/zl8G88is6NRVfiH2Z2gVpI6IVhLY5cjqalMFWQDOPlQdDV5vJTNiKBlR9+88QHXJLn6/RnZHoDNCZW1YA31xMUVwK1li5mkYItNRyCmP9vOIwLtYbLsCvpR35iPuL35hl00k8T93Sv+Eo9t8qeopGnKojqTYRpeDE5UvCBVge+1AiOvA8buNtLNwwfpdev/BM9yLmh0KAiVQ2qpG1njTbyristK1ZWtBBVBe1QCY7irmWrABl/EYEoAMzRv7L1cRx8AFthyOBRPoGfgY6uh+/e5sJBBDR0TEuubaYOPDJeI6L4/p5rMAhK86l8z1e4U6ZRbEVHo4sN9iOdYGEQMzJJmdYZ/bF6hhpAQRRzcCOk3xluJ2L679ZfwgfnTonqGhBejUGgReCXg7w90lELFvsmPA0jYb+DrPvG+qfRb8V2fRMnZQnDuW8eZ1qGIzDoqgiQV X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0398; 25:JMkwS4Alhf6bBdKzOLdq11TV4Wa77vnvU5AgYNP3MNMKCepvudLpEwcvUct/dr+4n30SyScHDmJhRMp1SdDcDrg8HnkbNUC3XCSCdAD9fyyaS4QdeT6rApJM2gyqDuTbraGLsBHAdq/rsKeksdcPY1S7jPqwC/3na0swsGKfS9yQj24MohHmhKK2MfUwcyNJWLvtWbX/duWsmiIe7SE6M2xbmTdbJDqXInltvhZ0Dd+uapOjRTyZyQKJFfLNy3R065Xulvxt5lVlyr3HZnTXbfPNS3sooTs5XdRqG91KoKYH1A2J2+T5Rw6wHwafUh5SC9azrNllAEEBDvBHpYgyb+LuVt5S9TQgPx+9tV/oQN98CFqJXhDcH7NvSPepx8uuWobu50R8WuSC2Pbwia/H47qC1WO46u+xx+s/q5ljwBmfGNSpywAyrBxP5xdoPIgVFceCKSL5A/HUHQ1/ZyZT+Nhpcy6AO9rbaD5xj4kIB2U=; 31:0F7I0RAaMIUE7foxsXvAEC4gjc1poYQpeOT+x87/mld1790TLcFhvkVPpPuDzuyvBrXL39K7UIvh2PCkm+Sd3ZpUeSQxT3uygm2HpEnLVR8d6xL5hQJSwCfJJM0gDhcCKKz6/IPWYXmEIMexfQ6QhisuvXmlUuXnPByZ+ouNJMtSX13Xnpt7nURJ26dh/0fnwc2vw3TUcZ1422ZdDSJydPaverxI1w/2T4asiC+rWpwgL8TBZO2dE96dsF8M7Jma WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0398; 20:WcK25PABW8oNRqC4RIc8Li/3uPzggdvtDab+irjoCbktEx3jjL0I52AcvqWgAWbVIqkYTR5JsAo5RuEOZhL56DFo+WY5oGv1bpOhYbgmmZfeTVvZUutYJeR2HQjuYdD5dico4H/yqPtAhD0+fIcSjk8AMh4yZvLOIL38a6ffvOsttv6cYhM5CFMqNhAbg6FSFXT/t7FKeiGN4YFiDO0ZrIe4X0WM/zacYawlEATjgVVCqpjOxicQbXIr/JDWdlsi3D77se8OT1Z/uTYOLDOMrvWH1o2lFcQTX2pzQ38GXTN7rfI0LnPadk5CUIP1D6sGF1Z7gBDcjZ2L0T3ymdEAaqev7RwJAOGD1gxvXyXiqnhrHUOxe4PvuLS93lWQ9U/xuX7gHK9y4FhTYS+sWV/lwpN95hg3JGccTysp/uxs6agK00NhbuSk7s9Wn+MXY7sQrPOuoHWDMAB/4S36N60cTCYfrq0Xbre4pIE62W1xKqO0CeuOjtrDZndkpohnsNLp X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(13016025)(13018025)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR04MB0398; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR04MB0398; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR04MB0398; 4:xn5fZfDwEN+KBpg2lUipn1JoOiAqIPC58t1/RCdPAb?= =?us-ascii?Q?TIgBsgkX/NfKkkVPyfComKeZ9Q1H+3qjJpoVV+wu/qJOMBRo2Mibb+dEPqqv?= =?us-ascii?Q?f8QD9+sO1h9qocaVW2gNZEbs4XZD34N5YO2hjw3TA3Dh0AxlQN6guniUBZib?= =?us-ascii?Q?osruOVSJ9Dfog4jnhTW1LDWPf3v9jzfgLZLYslnrj9SPKEwD3sm03N9CVPXd?= =?us-ascii?Q?ZfjA2m8WkiwAgA9trlUa8lIq7eyZXeZjzuvk5vb79L9kUVkemYZR0kXe9RcG?= =?us-ascii?Q?sBdfUc5TGYNZ3V85CeXqyH6teerBcBmFikzf9K9cqCjeKFKmLsgukPApI5qO?= =?us-ascii?Q?P5W5miQOtZ5q2z05udp1ZPUGyFnUNwk0OZriCLxS/dkCo6uh+U3xRkik+XnQ?= =?us-ascii?Q?J/bKE+9TtIkJCrKFrXcRSfnDHF5YthkQNhXOMpPvGbJGGU6obvtF5oQ4S/Os?= =?us-ascii?Q?1cVqalFQlqKfE7XyJOcoEokYBgJ5l8gfQpyDgHUrvJNFb2CFpNbR1oCx2hmF?= =?us-ascii?Q?inYTQphHtVAhaf/YGy7kDwHM83mfCO14EKdOS9mAvhVI2s8J06upYSUe6HEZ?= =?us-ascii?Q?ZBXxWP/sD428B7i6tr82yA0kuhL1joG3xVtR2RXLPNnMph4CnH55Usl6FDOm?= =?us-ascii?Q?DkomCczYvcPSHkZ7fJBeKTXBujq6DMc1xdwbo18nyBh416vKzNBrSqh/r3gH?= =?us-ascii?Q?dylMjTlTw2UKJWb4W/bzr0kzgJrd7CSgLUpsh9E7PFCAHVFLjew2UOsUCQHG?= =?us-ascii?Q?FWluk4dDOgToagkVhGkf6VA8i8boJ2W5sNk5DcR/DJCuOp7yUpWss0bVDyr+?= =?us-ascii?Q?PXe5UFMqao0+l813IDQtPu6VLT8YsV+TYm145ZGNMVasf/enobJEOxt0l4Jg?= =?us-ascii?Q?srnLeBHgB75RUDDVjSRIsgCe4YV2vJ//u/x7JfxmGgJwWJqppu5DpIPzVbTn?= =?us-ascii?Q?UxnXZe8h1gbS9mCs8BT3ISnNtQFIA5Lw3DyavbKbXZkv+TG2X+XLWZBJ6Xg8?= =?us-ascii?Q?onuvIxtw6OiGzgFomXSRjO4HvgqdGvwHX9g5cSVTVD1EEcCEt9Ku4pwZtp+D?= =?us-ascii?Q?09xOzHRrOC7Pys7lBiI8iKPhxYbYFecACD4/nohfKSRawF6ctrKi8aCqg2Xf?= =?us-ascii?Q?YYeRuHl771w2NiUX86aBgS39Lim1sp9fhz4TOiw4CX9FoJZIGl8NCXtmLR0u?= =?us-ascii?Q?9eEsyGycx0Rvf0APhN7ZXJK94Ed2YHTTWJb/Pckq5xolEOEfcCYekDruYzj6?= =?us-ascii?Q?jxcbKPwiy5lWAu16QcS4aaYJIYlwKk3NR1vygD?= X-Forefront-PRVS: 0325F6C77B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR04MB0398; 23:/9q225L7Y2WOe7lJ9qaCGgPpFZLgRW0Y8W2tPJzU2?= =?us-ascii?Q?0v17x9thbovj0lK3AVbNrago+ajn082fGdI6A3beu4DhrbWYC1AJMee2tVZO?= =?us-ascii?Q?ln+USuNJdLsgfjynZLvUsx+760cHkTUcP9xS42gSE8LYsBwjfApI5fXdLBir?= =?us-ascii?Q?2LOkhkqyl+GhJ6MPgy2qL5ovDd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4UqgJoWrl65IBUBkA/Nr9ARS3YilbjKyLv/B6c9OeO6ZeTSIl7m4FYK8oVRaRg2tbrSOPDX/ok0fAP9h5VbGltgCcg4CISKEPet1H5v/l8Z42v1Jc; 24:0wNwwm27YFjQ8r63YUZWIupIZKP1hP0Y4Zo4TedvnQBM/QEL8sOTBKmEYSGDtsjHRilIzZKrw4f9Xojtp4u0VgHLgNCU6ri164SxmzU14Dk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0398; 7:VUqvWFEkXoemcJ1OewVcVctmMSIyjUL/NHNwWEfTOQ+n9eIgmCaI1qKGqQIqJ9RQh5k9TIlRQohnIHvWYG86tlAs0df8AnobMJKq98yGyPaCC/TNSXRoAQ8auome32djcTRkJsiNS+b+CbWAEKZ5CM2uv5wC6xCdDBwHbn4GvM4TBVwnle2ykM+e7Dl7NDy930JUxoo/DFcnWRhxKw7cOVQ+HoqmIAxAuHLXhhtHIUSZS++gcc8ng5EnSEbNrxHzSbT5cBKTR/pgaPoFfbqx1iFM81sbdzta6I9xJn/l/Upxz5hbkRfRrmliIk1NaadsI7+XXU0o6M/g8sGDcNJWrQ==; 20:6o/UYTmXplLW7LBZfXuCKVSGX9rPMY+NJBRfaESmAGYygjfdYwQ7spyuwtUCWS9xqcH2+9bOO+CIX1UVza/5AgKdgZy/0IppQzMwhQp6r7P9C99KyiBlbRXa0aILN0ecZ+4NjT5iiQSI5WrX6X3l5363Pibke5+wDb5ghV/OKHo= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2017 15:55:19.0736 (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: MWHPR04MB0398 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 Reviewed-by: Ming Lei Cc: Omar Sandoval Cc: Christoph Hellwig --- 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)