From patchwork Wed Apr 26 20:47:54 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: 9702001 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 52AE76032C for ; Wed, 26 Apr 2017 20:48:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 438D828404 for ; Wed, 26 Apr 2017 20:48:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 387D028619; Wed, 26 Apr 2017 20:48:31 +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 BD53228404 for ; Wed, 26 Apr 2017 20:48:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967280AbdDZUsa (ORCPT ); Wed, 26 Apr 2017 16:48:30 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:64997 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937684AbdDZUs2 (ORCPT ); Wed, 26 Apr 2017 16:48:28 -0400 X-IronPort-AV: E=Sophos;i="5.37,255,1488816000"; d="scan'208";a="14132338" Received: from mail-bl2nam02lp0081.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) ([207.46.163.81]) by ob1.hgst.iphmx.com with ESMTP; 27 Apr 2017 04:48:09 +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=6qd/aYrE2wbwlLaPlNjXd7YIp9GKXc4V2fT8rZWAtn4=; b=Qf4kHcVKvK2sdVcnFLjFev4GVrJA20vj8XYiDFtLCwKof8ZMtiXRJerV1QW+EVuJd3mV8RV4gS0QiY2eQqeeiMsHsFG7mpxPSnGBT+67AULjKE68sCLUcgfrG8mAYDsoMHStnLwmSfPWc7VUAWRVuLpwEZOIinPcT6CrkqAC6R4= Received: from CY1PR04CA0027.namprd04.prod.outlook.com (10.166.187.37) by BN1PR04MB407.namprd04.prod.outlook.com (10.141.60.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Wed, 26 Apr 2017 20:48:06 +0000 Received: from SN1NAM04FT012.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::203) by CY1PR04CA0027.outlook.office365.com (2a01:111:e400:c5a5::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13 via Frontend Transport; Wed, 26 Apr 2017 20:48:07 +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 SN1NAM04FT012.mail.protection.outlook.com (10.152.88.109) 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; Wed, 26 Apr 2017 20:48:07 +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 AA.F0.19026.58701095; Wed, 26 Apr 2017 13:48:05 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Wed, 26 Apr 2017 13:48:01 -0700 X-AuditID: 0ac94371-41ba798000004a52-b9-59010785e8c0 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 06.F9.11415.18701095; Wed, 26 Apr 2017 13:48:01 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Bart Van Assche Subject: [PATCH v6 07/10] blk-mq: Make blk_flags_show() callers append a newline character Date: Wed, 26 Apr 2017 13:47:54 -0700 Message-ID: <20170426204757.18910-8-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170426204757.18910-1-bart.vanassche@sandisk.com> References: <20170426204757.18910-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsXCddJ5kW4rO2OkwdwFhhar7/azWey9pe3A 5HH5bKnH501yAUxRXDYpqTmZZalF+nYJXBmnXlxhLljLXfF0eyN7A+NEzi5GTg4JAROJ7uWL 2bsYuTiEBJYySbw9P4sNwtnBKPF4WRM7TNW0H2dYIBIbGSUmXl/DApJgEzCS+PZ+JpgtIqAg 0fN7JRuIzSwQKLFs8gdmEFtYIEpi9dxHYDUsAqoS70/OABvKK2Av8fbVQjaIBfISZ7fsBKvn FHCQuLz3MZDNAbTMXuLqCWmQvRICj1kkrnfug+oVlDg58wkLxC4JiYMvXoD1CgmoS5xcMp9p AqPQLCRls5CULWBkWsUolpuZU5ybnlpgaKJXnJiXklmcrZecn7uJERKuhTsYX9/2PsQowMGo xMPrsJEhUog1say4MvcQowQHs5IIr8ZLoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeLNmpEUIC 6YklqdmpqQWpRTBZJg5OqQZGn+Y/wvfv3L3yW2TWJ+nwE/bKUvl8jivWl3SJ7Zxzz2/na1ud +R4H/FbYVh3cvCJsWdr5B2UN3YGCErM4Wecz+Xy8+0eWRevIvDx13ZvbOt6qxF6by/rOoWOl 2ATnWM/VU7OsJQUPRImfccl9O9v+37sbHrFHBWZLhQdIHbhb+PzRZYsid+M4JZbijERDLeai 4kQAccKacFMCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkuLIzCtJLcpLzFFi42Lh2sjJptvIzhhpsGiDtMXqu/1sFgd/tjFa 7L2l7cDscflsqce0NeeZPD5vkgtgjuKySUnNySxLLdK3S+DKOPXiCnPBWu6Kp9sb2RsYJ3J2 MXJySAiYSEz7cYali5GLQ0hgPaPEh6MPGUESbAJGEt/ez2QBsUUEFCR6fq9kA7GZBfwl9i/8 BxYXFoiSWD33EZjNIqAq8f7kDHYQm1fAXuLrih52iAXyEme37GQGsTkFHCQu730MZHMALbOX uHpCegIj9wJGhlWMYrmZOcW56ZkFhoZ6xYl5KZnF2XrJ+bmbGCFejtzB+HSi+SFGJg5OqQbG vvV7tG99tH6e5JMbafWrZKVy1dL98fGT8w3vPQ/x2+d5yPTd4o86mx8bcbp/3uUuFvTg+cKq WxErNjLl3to4j1HF0t6odCdb7/tLSVv+neEVPuSX6P7dXcoh8CaXXwYjh7K39Mztzx5vfSWr 5C6Z4M3/4K33P2aWS/si1EW/H926Yo7GvUlCSizFGYmGWsxFxYkAZ0RPQqIBAAA= 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)(39840400002)(39450400003)(39400400002)(39860400002)(39850400002)(39410400002)(2980300002)(438002)(189002)(199003)(9170700003)(47776003)(50986999)(8936002)(53936002)(189998001)(76176999)(54906002)(4326008)(5660300001)(50466002)(50226002)(305945005)(356003)(5003940100001)(33646002)(81166006)(110136004)(107886003)(38730400002)(77096006)(36756003)(1076002)(575784001)(86362001)(2950100002)(106466001)(6916009)(6666003)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR04MB407; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT012; 1:XOFKkY8FXqifbGk57SKk+P0US03mvnYnICvjjyFtLrE2mOAu/JOS8UN682STCR/EAAvl8qhXIp8MDvpegPwthfOpAE4Cpdjn0XV6cYBd/VPNc/qmCwNPJb9yK/X7v1v8kdzzXdDqvgIzehK77o+KI4lFg2owbml8CaovyOwu7paxlWZ6HCT638DbW0wYU2auK1ny8sQDFKIfJpkt3WdSYtcrerrIQbtTGBYzmVEsqA2v+xfI3h/oI4yABt3LXa9n8bzUbFQc7Gqae0g5YdkKkKf9/SOvZrxHXUezHfBIGAU+2God8baHTtKBeomLM3jkfeqmxWLsyCgP/u9uKI+OqzofSKYx4nBNmtJv+xlJKQ9tFVkwPuMLduOW84zEMobieCmnMoZIhgoSHGJ2mLULW3UC01SeUS50KjMNWG9g46ENVkXL9LBaJabBYu7MwLuTaw4yc7Nx+KKVgPbh7t1IX725mOkq6oc281lIyYM2sGQU7400Rs6Wo3UZWTDmwJfxSwYQn7jggL/NJy0Mj4D7Px5hatSSqlky1uUn9qu7Rk4= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb2f5b9f-77ae-4ef3-27be-08d48ce58b2e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BN1PR04MB407; X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB407; 3:t86eBjOC+VN9uVUPkfubaCS0PO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lDuIxcZj72KSZV4drv4TsKpLlWpjdFSrMWUjZq4xZfralMd/V8QPwYJgpJ8lOYVBJYtHT9HbayM7dZbK5va39SA39LCe+gb/vHDcrPNDJ1uckI/6+S2OxiCFN+Rz+1zjrY+647rzLuBVrb5/Nr04Su9C3lilBaq+FwJF45IDvI3WUhfyNQhAjjAWynz6vFdmg+CZBg== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB407; 20:tCerf6PZagj0eEOMVZn+3khzaz7nS5Mp2Vg8B9Pm2E2jiA9QvHEx9TMPZMQpUtwv9nDlYIuMP051OuRx4uxwHkYmBFXm5GJpx5Zimf257PB+27bkeQDP69GqMDwAKxSo/s0N2KeHreG6+e4z7nPIhpB4UVnQ4NFgcHTQqUcpNZWWAPBdeX0YnNvburLVf0zFuWkxbaMhwUeRjh/UxxH6DcnSf7nhN99dp1f7u2b5LXh3UUuY4xISQsoUN3kx6eluZbOPO8Qej5wFoZIcEmFfKzeBm7osFMvWToKA2hnRSJlhOnzAN8O8M5lMH4jY3rPK1fsFoyQ5ir+ZSIFtoX4d/rsnclFinniWHRqfGiNui5o+JkLI1U0BJae2VZB5+Fmxg0wacR4s192q7H8KmFCimmSkZhiip73orXL0LFa3BIwO0EdpPDbRkQzIbczF1376i7CfmSLgVUIdcse2TXf/zaK2l1ghS+F0LVkG3zPbA590ijtDttdLDISJ2MZU9dzi 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)(8121501046)(5005006)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(6072148); SRVR:BN1PR04MB407; BCL:0; PCL:0; RULEID:; SRVR:BN1PR04MB407; X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB407; 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U2G5JbP?= =?us-ascii?Q?IEDeq6G2eEYhdn7hBrPxsG0iA5EMO70KrT/QgYRUohW19HYxVavoFFt0I1K3?= =?us-ascii?Q?fPCXg=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB407; 6:zoabpJ/y1M2L1FzyeEg+saJs3/Vtf/gkXA8gvi0TO4Yp2jUPoBQgf95QPXu0VRWUWu/IsXUbsa5NW0PCvjeYzlNjjHyA+csiTYnQjCOHwLhICJiabh/41sQm7uCuQ/nMkv6uwOeRiXiheJ7oPv8sW2hcvS0FwcuhF1TZIxCopgsurb3oKs3UmuggzfkEidFqyqZae4rDq07DGUiLwyQlC9/8JCoDFaJvgrWFJ0t6QHZvKeWjjBzAlA7SGwGstJ4DWMPhQf329o4aZw8rNc2n6iynBLjfnkPrrWQ43O0W0roCnobuJD+R7Fl7n1l0s90bTCRIp/dUMYLkAr+8zxZCTuRXB2Ulmvgltk/rMwmuRRob4jK9ScAToZBIGrJ6gFomzATBtfomfIG1cn2MLFqM3zj2ZbM1Ung7+18TIGnGO5WwQZqEJwLU9UzKWLVfG3mfqs2OIhF8QkRLmTYd7btL1nt35KYKJe5yy4HRHtWqpGEb9gHx35CrKzLvvZ/cQdv1NW3BE70lFMTLEOnJQtOpkJ99FzpTdo1/s8rSaB8lAnI=; 5:c4D3hDb4kLLl7JxDpcLPjRgJXg5k0jue/71KXLbVHkheUwYip+3N4jgxZggqfKtvHMw5TmL3CjtpvntYxUTU6k1IC8b4wjnDjzK/1oNz7DSzweZbr0S/3AnII/yGjtZs+lpEao063N8/dw90n7kMEw==; 24:JbnfKrNjWaHItLYFNwoLRSM0quTnRnxSnbSZace9I6Db+5ZbSuytOTemISXYF5t1ZcLH/JGaQHfCXTxMa+rws/mTS/JM+mJVM5wWtpVKX1M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB407; 7:lunJNcAuSMLk6ewUtw8Sy26otax9qpV8/65y0zP7Wdl/eabRFoN0l/QVK7RVIkeXA+aM53zihKXzEWiA5wNuPxE2STPC5ehutiggP1xcbv+baxgc/lFOwN0T4xqjY2Q1mCh8TgVhHeFAwJEGsyYn76SQx3R6PSsijR/7GsX3BdzQswgtkcVVCFQWVtCIir+lOLSUkH69nQiIZkWveQlD7PjqdsC7fbHdbmZ2fNJR3gXnHgU7Dlt7tszY4pBKRX+SwZ7r3x980BRto+jSRiv+qsR/5rA6wdBQP141YihiPmDQPWZGBQ2qVlAD2Y6yVLf6tTYEzgNYfefkeEXDhQHqHw==; 20:UvtKk2mRb8hoAVSneudsuuUjTzx4VitIGoWJXSP9l50kABJHxhthFA66D8rrYQwq066IgYCtCqQjUqZJga5F8sU0AYVq/MywFZ5CqOFRMPuqBljXJGxikIRVOcvgSGVCRcQ6iBkb5AkEB/UoXwNUXcXg8GlYJYEXYIr3eyDlA5I= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2017 20:48:07.4039 (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: BN1PR04MB407 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 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 Reviewed-by: Omar Sandoval Reviewed-by: Hannes Reinecke --- block/blk-mq-debugfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 1132be4e9c1c..ccc7b0f71230 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; } @@ -193,6 +193,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; } @@ -236,6 +237,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; }