From patchwork Tue Apr 18 23:29:46 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: 9686669 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 17F74602C9 for ; Tue, 18 Apr 2017 23:30:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A36E20265 for ; Tue, 18 Apr 2017 23:30:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F34CB2787C; Tue, 18 Apr 2017 23:30:21 +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 F3EA02838E for ; Tue, 18 Apr 2017 23:30:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758224AbdDRXaQ (ORCPT ); Tue, 18 Apr 2017 19:30:16 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:57191 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758092AbdDRXaD (ORCPT ); Tue, 18 Apr 2017 19:30:03 -0400 X-IronPort-AV: E=Sophos;i="5.37,219,1488816000"; d="scan'208";a="12099977" Received: from mail-co1nam03lp0017.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.17]) by ob1.hgst.iphmx.com with ESMTP; 19 Apr 2017 07:30:02 +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=euVZWyIAH+FAq55otcXr6KdPboyjuS0hkaWI3HODdhk=; b=YfLRpudddWOTLmKd7rlR+7LN+gczxQcze/I9I6JRv3ITjTymNw2zk36dBiX2wqr9Bfh1CE4FDvo9nEyzkJU01vfgeCdJBwcxWpH+RrM6ZQtgCcOHOBUpXW7aIAi9vzOLDLBVZCmN/e3t4gfO40VQjUyNvgkfLTDZkoPBonqub/o= Received: from BY2PR04CA0017.namprd04.prod.outlook.com (10.255.247.27) by CY1PR04MB2236.namprd04.prod.outlook.com (10.167.8.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Tue, 18 Apr 2017 23:30:01 +0000 Received: from SN1NAM04FT034.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::209) by BY2PR04CA0017.outlook.office365.com (2a01:111:e400:2c16::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, 18 Apr 2017 23:30:01 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) 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.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 SN1NAM04FT034.mail.protection.outlook.com (10.152.88.156) 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, 18 Apr 2017 23:29:57 +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 CF.7F.19026.071A6F85; Tue, 18 Apr 2017 16:29:52 -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; Tue, 18 Apr 2017 16:29:51 -0700 X-AuditID: 0ac94371-41ba798000004a52-b3-58f6a17029d4 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id FB.84.18148.F61A6F85; Tue, 18 Apr 2017 16:29:51 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Bart Van Assche , Hannes Reinecke Subject: [PATCH v3 5/8] blk-mq: Make blk_flags_show() callers append a newline character Date: Tue, 18 Apr 2017 16:29:46 -0700 Message-ID: <20170418232949.5228-6-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170418232949.5228-1-bart.vanassche@sandisk.com> References: <20170418232949.5228-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsXCddJ5kW7Bwm8RBreXilmsvtvPZrHgzV42 i723tB2YPS6fLfVYv+Uqi8fnTXIBzFFcNimpOZllqUX6dglcGS+/mRUs4a64efIfWwNjB2cX IyeHhICJxM4Lp9m6GLk4hASWMklMO/qGHcLZxihx5XgTI0zV8gOLmCASGxklFj5sZwJJsAkY SXx7P5MFxBYRUJDo+b2SDcRmFiiSuHa8jbmLkYNDWCBC4s3WdJAwi4CqxPJ1N1hBbF4BO4lb 3+dCzZeXOLtlJzOIzSlgL7H5+lmwuBBQTeeTE4wgeyUEPrFIPH41gwWiWVDi5MwnLBC7JCQO vnjBDNGgLnFyyXymCYxCs5CUzUJStoCRaRWjWG5mTnFuemqBoYlecWJeSmZxtl5yfu4mRkgA F+5gfH3b+xCjAAejEg+vgfi3CCHWxLLiytxDjBIczEoivOebgEK8KYmVValF+fFFpTmpxYcY pTlYlMR5s2SnRggJpCeWpGanphakFsFkmTg4pRoYVf+qucU93mG/WW6p/4uracY/CzyiLk+t uHTnarSZyWZ734VqyT8tKgyDhOw9g/425vf9fZ34g22HjEDpyT8LZ7hoTVgus2QH0yTNL8aP mLu/T1E3bGjiVtvFwVR3NPe6+PdLYXWzNy/NniHk+k/juKrM/Tk/FSYUvUnYGvto45vAXclf dxsqKrEUZyQaajEXFScCAO2ejOlcAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBJMWRmVeSWpSXmKPExsXCtZGTTTd/4bcIgwdb9CxW3+1nszj4s43R YsGbvWwWe29pO7B4XD5b6jFtzXkmj/VbrrJ4fN4kF8ASxWWTkpqTWZZapG+XwJXx8ptZwRLu ipsn/7E1MHZwdjFyckgImEgsP7CIqYuRi0NIYD2jxJXGPywgCTYBI4lv72eC2SICChI9v1ey gdjMAkUS33atBopzcAgLREi82ZoOEmYRUJVYvu4GK4jNK2AnMXl6BzPEfHmJs1t2gtmcAvYS m6+fZQSxhYBqOp+cYJzAyL2AkWEVo1huZk5xbnpmgaGRXnFiXkpmcbZecn7uJkaI36N2MF6f aH6IkYmDU6qBseTunu3sq/ivW9nucBCTU47s/TZNcsGrm3xshwUt9z5aMqX+FH+VxAV3tend iVqTcq9fVHkft/Iv1/qAOfp89fHRjV9XsxaflZ8xTWTytOKP7kGn+MVO81QU6zlMVrrtXc5v uPh3qbr6bcPrS1ZGGZjPWO60MuOalJnaBQPJWc0fXH6U9jV5K7EUZyQaajEXFScCAPvfFpar AQAA 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)(39400400002)(39410400002)(39860400002)(39450400003)(2980300002)(438002)(199003)(189002)(9170700003)(50986999)(305945005)(86362001)(1076002)(2906002)(53936002)(54906002)(106466001)(189998001)(36756003)(81166006)(47776003)(8676002)(33646002)(76176999)(8936002)(5660300001)(50226002)(2950100002)(6916009)(48376002)(6666003)(77096006)(50466002)(356003)(110136004)(38730400002)(4326008)(5003940100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR04MB2236; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT034; 1:+RFXbZiFWhQe4xjXxNvf0RubamgL4raTNmty8/uFkMittRxiauiSUKg2/G3A2AIUVKtuFCebRS1RD6oST2UF3AJ4pQBCNN8+V1Ot+VJD91lpsL+ZrFTSvfD9YbBIWRxwhLvJo7Rnu74WSKFUvs4pbS9ph8GEywHTXeznKR8K4XDWi54/1psa/ZFpSozquomE0dHflotUCDivGpVilNKzDrqdAislKL3Osu70e+V1rik4QPMpJpyJCVj5ZB8vD9y3qAa7iCufmFn5LagvMbPlF3pTI3+PMOxNfOQwlUYk6HJitARZSmup0QkkzsAKWbjdKdPk7D4zAX1eFW+2m+FwGCARMEY60dx/SgNy9lmXzcr7GjyfFJk6obBBSR965YL6SzAQ8WvTG79U1WKRzwG7BDlJedgXnhuY9qxvxWEQSPnFowN2TIGylpxF9niBukjNVODXesGMLejASZ4nNS4ax51EFXZziwcpxEIVsgLNAX1TbNWkYaHb5cHR9w1oucd1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 137ee9fc-fd06-4d8c-b0d1-08d486b2d52f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:CY1PR04MB2236; X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB2236; 3:e5W3OOpOalJYFvE3tUV97IcKejNQTuT2LPC4s2A84tPhL1rrDFiLLe0kKEba8B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3dnWtHGndfa0RnCQDy3etNKEendAKe+V7kSoPMacEGRl5AFtHvyL1rcw6b24G6stX3nqyHANSapfjtugRjn5xJbKE55yGUnc9mHXMazLYYG7AfrvTaVc6VbJks2KTJ9bQxLqOFNJffBgin692o0XlSJ3cx3Ey8jYVuOjp2UQBE7SVuVNFm4p+7wcwFonLJwVA== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB2236; 20:8GyVOFpI/BjRzOEw4mnmd0P5z4uwl/1RzP9zXf58J+vUlyoccISOLvno+gzhTRrtURJP7dtq4cYpNzFTSNQuM4J2zbJpuuBN8I0PSW4cP3cXgjqXWTfVWmYPhbhyjIwEGDA0nvNSP7Bnx1YoY0Y43bXPJZNQaXyyrJQ/hafGVrWAjtCKZaniH0TD3Yb8SAIb9aUNnl3S1ZeJvFbrcEzsMQfy3lAabNYZnpALoVh/jZuMcPiuHZ5bqvRxwpPHy7AN9j+IkD55F8mdggPsXgtLKMHMppIqejxPsWY1hXhJtPaJPSxknfIiS4mlntSLX344ct6qto/RjgON/Bu3V3nBNOrxlBmOl08kJiXRDGLG76oAgHZQeiwpWxTpHogN+lg0cM9CB0DL17yIlg0Cnvnd4E68sK/4hJCfjkVhJGZSqdrffzh7ZvQ11FaZlzF63f8k/Z+h1iv7IsEiRORFTKr43iDBUA0BPocFVhHYtjP4dDKIHXDJKt+2DBZ+KFrefb7R 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)(5005006)(13016025)(13018025)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:CY1PR04MB2236; BCL:0; PCL:0; RULEID:; SRVR:CY1PR04MB2236; X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB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fcK1wB5sALzPszKgJt?= =?us-ascii?Q?78=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB2236; 6:iHSoOt3X+6RYf37YVi8R1rL8ZG5Cr01jRvBo7IKhX796trF2aHHudpDvURL3U8LQRKI8EQNew8O7u5OJiZPcqDx3teWSyK1TGHCgfBZ3WB/71YEd58kUOAzEDJR2lyOIcbbGB3mAjqEk++4QPVriWnJGaOKqlJcfCgkbMhsikN29TmS29HKCN5w9EZjXSzk5Z+PfX7T2DzT/3apb33rn5sk+RfQv2DBVV3IcdDO3io7akDwseR/XHLTFon2JraqjKHrdv/6q6pS8MDmOsicr81ScksbpkMstpVeIhmuD25mXtsFuT0AkJgIfx9i7uwKo9Oe1S5up6XQDCkk0eVCRK+csvSrkSmoYXXVqBtYchd6IQBNgwwjfUYeKU02w2Y59m5q+PoX/zpf9s8PPsu+aC8cK27719C9KEA4M2PZFkiIAaTwLiCTliSPZgvj1smB0sfUNk3BLfZDk6SB/SMRu9MkhzXl/NdsHAMS0/cHoquI=; 5:PIgtEd9gb4VJFbrqJGRiqsN1em3FbsuUKUXnai4CpuoGqBw/7IMVhNt+fNZVo/3fSx5AmssARA4Qdz0LpwT51R3RXBT4ypXoGypgwr11j+aFgQkl/xj+M30j18oI5GYGQPgLUIvdziyiF37+yJaIHQ==; 24:Zb3IlfHT+TIakOe6ufW+HQSm6KABpS2RCotxIdK23PPD43NuqTXj8s4k0h8uevcBIueHU8QKbxP5DU1YJLzGh3m7dHrlRGTJD1hi4WrYN00= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR04MB2236; 7:J30T/JTriXMFdjOLpmuMQlPAJzsmkbcZLYJ96R7yIUA86f3m0Xi48k8kzmeQF5fgaQ2jX5TcFukRWPVqC9ez05cFnvDFi0/GWtyPe7H/0UNAVdW4Ow+pDvsRXfPisoQui9NOMcdl7dPfjRAwbo6dhqrZLamlsM3ZPUeYbDSkUZMWxdvrUyMswaD9V8ecWbeZFJpp76MwCOtrWdEKN48BmU1GOJQXJb6yM23q/8WdW5ONdufOEf5UEamjbHtCZR61bhHTgKKrJ0u5NJwYxvVro9fXJiDZLhZVOBMIGeAgmsfCBtlaQ3X3ai8iZczKfXtb1NkYu/Hbor6n1B87FpT8qw==; 20:TQmz09AmjKh+l8/dnpIjE+VltNk/eZGxSlqcZd3/iIGNOCRGVy/jhWDp3s1eXmY02V1HzAd1xlh9vvEYy4YSEfr2T0cksOVOhSdxWrFZSEwPQ531saEcj1zRAdQN+7Fy9RJGc8JPhWwtqfQq/15t4fJMyRjToTDbkXmDd1xQmQI= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2017 23:29:57.8154 (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: CY1PR04MB2236 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 Cc: 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 34cac9a5fd28..27054293b37b 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; } @@ -190,6 +190,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; } @@ -233,6 +234,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; }