Message ID | 20170411205842.28137-4-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-owner@kernel.org> 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 A1B50600CB for <patchwork-linux-block@patchwork.kernel.org>; Tue, 11 Apr 2017 20:59:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96D4626E96 for <patchwork-linux-block@patchwork.kernel.org>; Tue, 11 Apr 2017 20:59:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B84528512; Tue, 11 Apr 2017 20:59:00 +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 24ABE26E96 for <patchwork-linux-block@patchwork.kernel.org>; Tue, 11 Apr 2017 20:59:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753615AbdDKU67 (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Tue, 11 Apr 2017 16:58:59 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:26766 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753421AbdDKU65 (ORCPT <rfc822;linux-block@vger.kernel.org>); Tue, 11 Apr 2017 16:58:57 -0400 X-IronPort-AV: E=Sophos;i="5.37,187,1488816000"; d="scan'208";a="10349808" Received: from mail-bn3nam01lp0180.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([216.32.180.180]) by ob1.hgst.iphmx.com with ESMTP; 12 Apr 2017 04:58:55 +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=lVT7KoMaA7uN2KGbEyh3XlPeOIj9SqUDLiNSthItJL0=; b=XxpdU666/LwY6N7RSJCyJwttGQ1tcHknQRKQ6fLsLp6BZs8N9CqmY/fvvFP60Kpx4vHoAK/rVz6k2unWDbdxAE1Md3GG+6wmtc5yZe960W8atRlEkRw+uQmGKBtgIeRU8m6+wwyGnqcjrSu2BQNr5MLLRWyMyiuDJXZ6E4zqSmI= Received: from MWHPR04CA0041.namprd04.prod.outlook.com (10.172.163.27) by DM2PR04MB400.namprd04.prod.outlook.com (10.141.102.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Tue, 11 Apr 2017 20:58:51 +0000 Received: from SN1NAM04FT053.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::208) by MWHPR04CA0041.outlook.office365.com (2603:10b6:300:ee::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10 via Frontend Transport; Tue, 11 Apr 2017 20:58:51 +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 SN1NAM04FT053.mail.protection.outlook.com (10.152.88.241) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1019.14 via Frontend Transport; Tue, 11 Apr 2017 20:58:50 +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 4B.E4.29323.8834DE85; Tue, 11 Apr 2017 13:58:48 -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; Tue, 11 Apr 2017 13:58:45 -0700 X-AuditID: 0ac94369-548749800000728b-14-58ed43889647 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id C7.2D.11415.4834DE85; Tue, 11 Apr 2017 13:58:44 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Jens Axboe <axboe@kernel.dk> CC: <linux-block@vger.kernel.org>, Bart Van Assche <bart.vanassche@sandisk.com>, Omar Sandoval <osandov@fb.com>, Hannes Reinecke <hare@suse.com> Subject: [PATCH 3/6] blk-mq: Make blk_flags_show() callers append a newline character Date: Tue, 11 Apr 2017 13:58:39 -0700 Message-ID: <20170411205842.28137-4-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170411205842.28137-1-bart.vanassche@sandisk.com> References: <20170411205842.28137-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCLMWRmVeSWpSXmKPExsXCddJ5kW6H89sIgz/bTSxW3+1ns1jwZi+b xd5b2haH711lcWDxmNj8jt3j8tlSj/VbrrJ4fN4kF8ASxWWTkpqTWZZapG+XwJXxZ9t0toLZ 3BV/J/xna2D8z9HFyMkhIWAi0fdmE2MXIxeHkMBSJok3U2GcbYwSN3cdZIOpOrF8IhOILSSw mVGi+UQ0iM0mYCTx7f1MFhBbRE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ZPDzY19/n6cEz4fNG/rtLXKiV32+rnBz2gElluKM REMt5qLiRABbxeTatwEAAA== MIME-Version: 1.0 Content-Type: text/plain 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)(39410400002)(39850400002)(39400400002)(39450400003)(39860400002)(39840400002)(2980300002)(438002)(199003)(189002)(9170700003)(305945005)(8676002)(106466001)(81166006)(50466002)(6666003)(47776003)(8936002)(48376002)(86362001)(6916009)(2906002)(356003)(50226002)(2950100002)(5003940100001)(77096006)(5660300001)(33646002)(1076002)(4326008)(110136004)(189998001)(38730400002)(76176999)(36756003)(50986999)(53936002)(54906002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR04MB400; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT053; 1:mOjsOR6hpmOyExx4IdHdmB0xHwwx3jL06lx8LW9Fq2lQbsGJM+A925/S0MsNLfYf/RhV16ZibaibwOKKi29ccO2xftf6c3hU+EzybL0SiJhTk5FLJpetS0XbSp9bo/vG+95v/OgGx4nJh5hCbL8+lBc/ZaOxAwPH4wRmfuZ1rLZ4wD/ycnuRN9IzkOHUlYVsDlVSVMixj8x5kS6ab+Saj7q0YJ89yIy59k8jCR4wbboq31bv7rNZfnPWcWQeqU6CWR/7NdvJljjlyeE6YwF55oT/gaGsJl7pscfE5JhrVqRww1yH0iNSAswMH1bVLDpXf5F98XxHgTX/ODprXlT280H1DUYMfUGuoiT16ZKAV1DONfqbkmOxmBrmrujz2KDyt795MUxVvN8FbDKMPWWv8Dq3+vcYVhrJHL91zPrmrDP8xzlZDpJMKKfi/Y2Oh50iWCPwMWQUtz2XtgRVV6mhu33IGQnr5cqvizCCREK9//bM/GomvtqrK9pjiKH7Zs1S6/mbUr41mD5Bx1jsfz5nueVWkObEsajYxlOaM16RNnk= X-MS-Office365-Filtering-Correlation-Id: 2e1fa01c-235f-4cad-078b-08d4811d8e60 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:DM2PR04MB400; X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB400; 3:8OeJWqnzibkpmci7bTWdFxDKYTzaOA4wD6bgzhR7/4ePbaPGjMNo1/ky8gwaDt25ngDQKxXMCxYJF9etzoM4XOjKmd+cndorfYpD+UknGG8zJ0JO+veh09BwzEn04HiDH81eKz7L2k7YatVqrYbnU7N2QP3cbLDMC9bCQ+EiPnND/lia16Wfaxew2e4kSl4c7MrN7OhnwvEk0v5ggieM0eDAuRqHNL6ihLylDHSGNg6iJiF8uiS+B2q21sGzQHWaY7Ll0wUM/v6AiCj1xb7vr3VYuiRPaEZJkSgPJ0hbaqj6HsznigZOly8Z3twSygZE1b/rO+lvhZ0n61wTCPrmu4LqADk3jrzzsMeHD54y3uDCGbKx18HIcaxK8VE5XWt9iEfsQYYQKztA3PWVAGKuziUuBmVxXiwBDo/5MWmvsdpkKjbMxsFTbbaav0NQqOaxDT8Mfz5Fg+SYpnTA1EX9d/3G+HTkN9nL5E5v+OqxuNmGor6PCjR8C1hazX1WUBnS X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB400; 25:fHbmGScqI9OeL3XMnAvEW1qTXhgheE1n7efg9Z2J7gjQ3ZZnoL5GLSNF4GdWxEiucElse0m1KOerIOjEHL4Btaf7fAvzF+4InULPdnHnnaSaBZ8pzFiNWxM7ELxOVlePjHO7ReBtc1IU9+3anJ830GIJX9Zo49V211VkJ6ShtY8W+V7c4OcULgdMAUB9GUCsRiB0WPkmrS9nlbR+OFf26gTubLTJ9rPsn2+qi0o7B5jjPyqSAmGn0CwC7yWBm9VV1oTYTdYqmTJfA/6NvmWiuhEFRSI518o3Y5/nYaJnD+rEItkHKgFt0erkBfE20+v4ecovyAuTJcKqhcQsxlRywncVjcObQWcnOh5MV/ZsAKYjokYrpSADFk3owxzsCNmOTlH0MnkDtB11ISS6quWAyAWoRMksZWyWRM4p1RPEezzpgo8OOuA2rc2wQtaI5PNZrwWqYULWk01L11/RGc9BUg==; 31:Y0ttK72djwUDNH8naxe61CO6POZLqOqbjKcCeFGzHf0sxTWn0yEVwGYG2wZZ/FNKuiuKswL2c7YTHm3iZ5+v2bFEmFu0yANBj5Umy9bdqbX4CbGgy+1eLsmfGhOeZtE/KMqW/pFfNZrlEhRQ2jFh6GazLxPjsBjhMDy1V9VglM96+Hqq4834rBGRFNljrhhYatF9WLQDEo5lQSdYK0WTJnuAR8v9mbr0aknpSzHGYxCD9W2Wjr6HiqaT886DVW8Slt0E8O1cutemHGIWr1cpzQ== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB400; 20:UOQPjy5r2dHl97LNNuvEIcmy+SX2Q7HLEyaqS4tXtDluQS1HM8bLrX3bBDoS8m8DKlFDsbH8/lmK0PPUri4EMTnxncEUpHHl7LM/70Svyv/u0NozAKWU5dRpbpyJW0SoSw8XU6DuU5O24g5kS2UwW6wI5WOhB4f8K1i4/K6TchIHvbj1ordNkDMd9zhE98VAmWmDXj1ScxXxSQdL6kRdgyc1kCgXSToamobNyaCGivl3wqOYNj5CDMLMiLI67TDaFYcIJTEfB65rxYVkqhTR3Jky1xlHzeRdLA586xrsHzMkj3wDtLjCem1I62Uac4/Rh6sBrWwMMjqKaCQx+gBrHZQ+HJdDekkPN6SeTWVeVkUNxtJPH7GSjv4BypSg/YbshBPodTa91Z9NiuPbYw1avu8sUlZ/1D8+JYyCdGBJRiQEXo1dVNDnG6gzwkBcMhUJMRtcvXQIjxPmIC0NkI31YKf53yXP/n0bGihr85HAw5asKnjq67l5UzfYE/gAaSOJ X-Microsoft-Antispam-PRVS: <DM2PR04MB4000E55709E6969D0AFF20C81000@DM2PR04MB400.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:DM2PR04MB400; BCL:0; PCL:0; RULEID:; SRVR:DM2PR04MB400; X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB400; 4:1fCrcuk3Azu1HO+q54tXM70glSp9wdXMlPvDnc5elONE4TWq5ej1w50/riZQCujoo/CXAOL+ygK/widxzL9w5AIayiLDedfuTiwakhZJGc1kxw6ylmvPMHzJwp43U5+CKVVJp8oWxrhqIZUDxIt/zWVD6RN0HmIGAwZVviCBAqTuGb/TzG4OIw51Ptf3bjHVwnMi8wnPIKDyxNtjhlj6V1C7+uuntL3znkz+RZpZIMyQfDtBnzQ/eiVFSos63cL0xaK50EbQ7877l3Nt6bID/R1KtK4pKtCkHfS9oid6N/5FTDVLQOIse24Fwcz4yPDj7BfTqM/Jlf5AU7WE1+sEBVYyfXxzcmlSYQtEAWpBe6TIFlGtcZPEwK8VwMvYIVUfOid6Ec0FrmH7sqL/gLZTMoaCqWP1qpkbEylFjiHlXFvn5aA8yr34DfFf6F2ropSpVC7wdco9dWfSUcIFg9wjT8guXABTdtaJ4/2TDU7BP3STVuJhrJqtLpbbyrIQO8Ovxw1Xl1SfDnagQzq9MCRSy+l1LoNLUtlprG3BnX+APB2fIZlNNrj85Gik8LbB3G5BbWo5tHQ16NR7l8I3H1wNjSe3db/KCglxnLlIMxOEfOvFySnEUmN8O1eDq7PqWtnIhC2Lkv8+yz1jGLO/XbVuEj22Xn1R21tmrJ/6T99LxSQhLLhu2KkAiV69utynGiLRvYs0bxOTu6NYJ00H1yZ6e5HfrMAQ46UcEPPxvXPlhHtb1DN2blD8eN4ntRO4NkUhvUVUtljNZGsSucQB2YIShpjZoEMbx0gAfXeAVg+P2w1zsl2r3/ipt/oXwrXgm8et8r/1et5I38RnxscVVviXFZaxLe5uAUe7O7iVK2cMj9g= X-Forefront-PRVS: 0274272F87 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR04MB400; 23:YfU60eAQ36I1DXaMnwnoRFbdxSUXJDaiFmueAFkI8e?= =?us-ascii?Q?Fv2dW1RpQ+1RV5MijJ5hGHJF/V9YDvR5OcPwUB8d2dTJwA6iVbhwnN/A/hWO?= =?us-ascii?Q?T5TQlzWJB8XT+Bxjw4T+PP9wNruKF+zFNUgEHDIGujXdwfbN8WdNn6bwpJgG?= =?us-ascii?Q?PqV2HhjT/OsP3r5JuhKjYM7pQoozPIt2gFvC2lMelGYOM0SQC648v82NV8HE?= =?us-ascii?Q?adqi2STGghJCOhtHxk2GYb9JtE8YuHwLsaP65ccNs8SKq2P5kJiqccgK6yfG?= =?us-ascii?Q?PFewjhWTvA/L6/efKazBkGh7+WB/t18dMmgKR++PB8IQay60W3EIbRtXHx+t?= =?us-ascii?Q?ktnsd82Y2HwTJzpogDdo74NQMMp8w8mm6upHs50Un5geDmypgfOCQf1YcF3R?= =?us-ascii?Q?5zjsQ507smgc1P/fkGEjk/rz+YXdHLZa0W5PilYLFmHQp0+eXXQS2u1XFEEp?= =?us-ascii?Q?IRBy/FKwdUxlzguu7+7z+Mg8HuuZgPpgpJQh2SnEjr4TMibkS6VVy9rUTB2E?= =?us-ascii?Q?JrsJYSZSTiLoNIlufQCZUhtmgOVPRT1Q+YpW7DccskXoLyDSzfSh/C7YUhv7?= =?us-ascii?Q?e1GhZRdbaZ9gy60gXepnn2HR+OmdP3RDkFl7ASL2zzkp62cAv4E5wYiIKSXH?= =?us-ascii?Q?osIve9TzvOwCPn5v6bQYeJHcSKgkonnrHg/YKbghNHs3Ej1CR6o5Sc3YNFVk?= =?us-ascii?Q?vvRXmyEHjKeHPaNk1DdHjuYBPFwpGlTUaZN+yKXRkFoJ07jF8jQS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dVRMN4PESC0kkuECXMYjnnjrKAXhUdRLM5y49JO6Y9RfYnmt3fDD4Z+CJ7QpJqWUdqUos11bb0ws/Iexqv3ROuzo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB400; 7:AYj09qrR5ebvx84CjNHK9F1URzT7nBX0k9E0oF51IDYoisIagdz9WcO6mLRsFPHtD3OANMfYZqIbtc0jk+9Eq681oTgooh1Fcun3sVxCJup8X4dR3L2fjzR6BkLqmodgowWtpU8Vm/mUv6kVY3TJTAGKCqejnOhqBfDx1syLBkB3/ZFc5U4JeD8fu4XEFS6qioYZIZZM/hv40ah/COZueZN21W+7/gG/HLk0JKUDS6asPavp0mGyE4MVIJetg61go0SFl1TO35FUE4YT0OoudjQjwFGaczzFM0F/2SpH7eLTrdy1PAKPoin86FWFqf8x16soTwn9sDPnQ7TA0IOQmg==; 20:Y55F2PSh8zfFqAPDNr4TVGn6r3mVlLIEO7hLZtUvPvlA+khWzkHl9dQbfEs2tiLK/KbCMU8u3pxfjGB9GB6hGMe/zDwb2QOik38tPdL4rjN7ZMmhBBrZ0cLM2EdGGMDXPctaLi7nFs/B0Mf69+aKycQXy07no0volCVvR84+Tno= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2017 20:58:50.4226 (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: DM2PR04MB400 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Tue, Apr 11, 2017 at 01:58:39PM -0700, Bart Van Assche wrote: > This patch does not change any functionality but makes it possible > to produce a single line of output with multiple flag-to-name > translations. > > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > Cc: Omar Sandoval <osandov@fb.com> > Cc: Hannes Reinecke <hare@suse.com> Reviewed-by: Omar Sandoval <osandov@fb.com>
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 564470d4af52..aae4b7c7b7b0 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -60,7 +60,6 @@ static int blk_flags_show(struct seq_file *m, const unsigned long flags, else seq_printf(m, "%d", i); } - seq_puts(m, "\n"); return 0; } @@ -102,6 +101,7 @@ static int blk_queue_flags_show(struct seq_file *m, void *v) blk_flags_show(m, q->queue_flags, blk_queue_flag_name, ARRAY_SIZE(blk_queue_flag_name)); + seq_puts(m, "\n"); return 0; } @@ -198,6 +198,7 @@ static int hctx_state_show(struct seq_file *m, void *v) blk_flags_show(m, hctx->state, hctx_state_name, ARRAY_SIZE(hctx_state_name)); + seq_puts(m, "\n"); return 0; } @@ -241,6 +242,7 @@ static int hctx_flags_show(struct seq_file *m, void *v) blk_flags_show(m, hctx->flags ^ BLK_ALLOC_POLICY_TO_MQ_FLAG(alloc_policy), hctx_flag_name, ARRAY_SIZE(hctx_flag_name)); + seq_puts(m, "\n"); return 0; }
This patch does not change any functionality but makes it possible to produce a single line of output with multiple flag-to-name translations. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Omar Sandoval <osandov@fb.com> Cc: Hannes Reinecke <hare@suse.com> --- block/blk-mq-debugfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)