From patchwork Tue Apr 25 20:37:42 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: 9699711 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 8F91D60224 for ; Tue, 25 Apr 2017 20:38:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EA172846B for ; Tue, 25 Apr 2017 20:38:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 736AA284DC; Tue, 25 Apr 2017 20:38:08 +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 8B30E28484 for ; Tue, 25 Apr 2017 20:38:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1950153AbdDYUiD (ORCPT ); Tue, 25 Apr 2017 16:38:03 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:51080 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1950291AbdDYUh5 (ORCPT ); Tue, 25 Apr 2017 16:37:57 -0400 X-IronPort-AV: E=Sophos;i="5.37,251,1488816000"; d="scan'208";a="109668322" Received: from mail-by2nam01lp0176.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) ([216.32.181.176]) by ob1.hgst.iphmx.com with ESMTP; 26 Apr 2017 04:48:03 +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=cgEkMAF+lRBuvkcbOsvr/Y22Rq1QR3IOyk425QPpq6vgBmDwHLvhMrzgWHzRrBiXDX5ow1n5RZoZhkecbB/HlklUDoh875y/uRGsEI2sXKwWBEXCz6dsu1iw7Qr47WKlmwVVQxzvnWY8pWvF2DWyLwJTcb7y9/SiSr2muIwpwVc= Received: from MWHPR04CA0025.namprd04.prod.outlook.com (10.172.163.11) by DM5PR04MB0682.namprd04.prod.outlook.com (10.172.187.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Tue, 25 Apr 2017 20:37:55 +0000 Received: from BN3NAM04FT006.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::200) by MWHPR04CA0025.outlook.office365.com (2603:10b6:300:ee::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12 via Frontend Transport; Tue, 25 Apr 2017 20:37:54 +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 BN3NAM04FT006.mail.protection.outlook.com (10.152.92.96) 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; Tue, 25 Apr 2017 20:37:54 +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 E5.1F.29323.F93BFF85; Tue, 25 Apr 2017 13:37:51 -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, 25 Apr 2017 13:37:48 -0700 X-AuditID: 0ac94369-548749800000728b-e5-58ffb39f14d7 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 9A.2A.18148.C93BFF85; Tue, 25 Apr 2017 13:37:48 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Bart Van Assche Subject: [PATCH v5 07/10] blk-mq: Make blk_flags_show() callers append a newline character Date: Tue, 25 Apr 2017 13:37:42 -0700 Message-ID: <20170425203745.19946-8-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425203745.19946-1-bart.vanassche@sandisk.com> References: <20170425203745.19946-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrILMWRmVeSWpSXmKPExsXCddJ5ke78zf8jDN70GFmsvtvPZrH3lrYD k8fls6UenzfJBTBFcdmkpOZklqUW6dslcGWcenGFuWAtd8XT7Y3sDYwTObsYOTkkBEwk7i08 yt7FyMUhJLCUSaJ/xTwWCGcbo0TvxEYmmKopT95AVW1mlDj5ZTM7SIJNwEji2/uZLCC2iICC RM/vlWwgNrNAoMSyyR+YQWxhgSiJzz+fgcVZBFQldp1byAhi8wrYS+z5eIwZYoG8xNktO8Fs TgEHiRVXusEWCwHVdO3cxQqyWELgMYvEmTtzmCGaBSVOznzCArFMQuLgixfMEA3qEieXzGea wCg0C0nZLCRlCxiZVjGK5WbmFOempxYYmuoVJ+alZBZn6yXn525ihARs5g7Gu0+8DzEKcDAq 8fAGePyPEGJNLCuuzD3EKMHBrCTCe3EJUIg3JbGyKrUoP76oNCe1+BCjNAeLkjjvOZmpEUIC 6YklqdmpqQWpRTBZJg5OqQbGzQeUdU7Nm3A/Y/t6Q/uwyNVbk64Xm3g23180c2vukmyvd1qd y3/mFnHtubKWbd19pcnPNp9/witqa5bCMp1HKdDzatys3RmVUUJSaxJef3ivkLzE5Qij7j7P BxyPvnc+TbH7c/yFn9v91bzbs6XWcYUfNNKu3OdcWL1fWObOl1WNi7/LWButVWIpzkg01GIu Kk4EAL8Q5bBUAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAJMWRmVeSWpSXmKPExsXCtZEjRXfO5v8RBoev61isvtvPZnHwZxuj xd5b2g7MHpfPlnpMW3OeyePzJrkA5igum5TUnMyy1CJ9uwSujFMvrjAXrOWueLq9kb2BcSJn FyMnh4SAicSUJ2/Yuxi5OIQENjJKLH56gBUkwSZgJPHt/UwWEFtEQEGi5/dKNhCbWcBfYv/C f2BxYYEoic8/n4HFWQRUJXadW8gIYvMK2EtMW3WJCWKBvMTZLTuZQWxOAQeJFVe6weJCQDVd O3exTmDkXsDIsIpRLDczpzg3PbPA0EivODEvJbM4Wy85P3cTI9jPnFE7GK9PND/EyMTBKdXA yM2e2C6y+tOtK0rLLK5xT26xvpZ3+kRGxzImw4CiNypVVSV7deq5P91ZErmzXj3n+P+7XFVx CpLa3Nd/CpflKcYohe/Jifl8QaVrb5fzpL62kx/z9LcsDQm6kvxkdvuLzVqCFoEZMpmPj0g7 vhT9le8TaMnma8Oy8/u9WwfzPWsZA3Z4r9BVYinOSDTUYi4qTgQAdh9VI6MBAAA= 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)(39840400002)(39850400002)(39400400002)(39450400003)(39410400002)(39860400002)(2980300002)(438002)(189002)(199003)(9170700003)(76176999)(77096006)(2950100002)(6916009)(6666003)(50986999)(8676002)(33646002)(50226002)(189998001)(106466001)(2906002)(8936002)(5003940100001)(81166006)(356003)(5660300001)(4326008)(50466002)(1076002)(305945005)(48376002)(110136004)(47776003)(86362001)(36756003)(38730400002)(107886003)(575784001)(53936002)(54906002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR04MB0682; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT006; 1:ttn8N+1SGMoAiUGC5pwB7o5QphtsU9J/NhXJn5x4APQw351A41Ji3e00qoAGR2xVDolm5hw6FsTDdGzbo2TwBQSDPff3Fs1te9zlceejvwrno4CnBJzMVO0SIVA00rV1QX8aR7ajd8kNf4g6A/JjsOxqzEn1dFSNiDpGU91z0EOLGzU2jueM6Q+NoHU/V+MT3A++aeElEewi3j1/DPKWN9yPKunExmGyf/irs9SP50WZa32EoyUhS56CcExLPVVtKajsCzLLLFD+3zcXOxPmI/vQAgy7zFxltIc4DM5POOKRC1AQ5l97QK37F6W88Of69Zm5C5CbibciQbs8TRTPN0WzlXQtCqcm36aOMq9aqZln/fUrHCelhxe22tIxJCueFgTD07NJfB5upa4MfpQVfYdPK8tA+ojYjXkWDS3bNuFQYcLyqfXHF4ot0haFCZElM9PkevsW1Ghxr+XzedLLjOy5C5RP+W1uo3Fe8wZaiWadBvuZPsSUQWPKAFX/bBvo X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b8776e3b-4790-408a-31a2-08d48c1af34a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:DM5PR04MB0682; X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0682; 3:4Aog9uGV3W7iogjKUrvuhqFFQOdrduK6iqovLSOJV6kZBLrZrbFIOwyGkH8zByWFY9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cZWzsYvK2VTQQmsElo45QIZiJF+CUNIBh4sCyI1p0RTiRyWicstdVGi6CjFmtHQDtANvX5xuRd20XTLNgo7iP8/5mMeVYFVPZ17qAOZunVwlshshq1rsoh6G9su6L0pj8/IJ1kpAdIa9szFawMTY6e7QTSiGgNQ== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0682; 20:JujgmH15x57WtI2bUfQMDawMeZ1us2c8tj5sHqwUeEHxmlB+ERx0R/uJVVyLQJshS6eXd3K/55Xj6g6fm1zXUCgE21NS8+4UoG5xwzgLyYZxl4zoaomMVdmgZT0F+IQHuHkMZqFPX7paD491BxmfNZ49oar+upf2QPt33YUXmZTGtTO6AWw5CTF3P7QT+2XQJTvqxkETQv3kAO8JdPRDseuTKSgkVLbbxO3ffgN1XUQ7HvL48sQ/f9p0CO6bE6m8Ti0guYUWh6BCQNkBLnGnGMpAZXWdI8fFgH8T384FDHHFkJnk+7GNfSELN3oG54onkCNR0ynE/APK/OGYTwYUYPkhjwiAkD6RECPBjD0hMWfOpGiHHpWgJd2ZPAwtFeprMLLCZawIKMIKS0c72c9aDLeh3QBFixtFQlM42y2q5fPlnLKBcjWot2A3krS95nRSzx2fuciUm1lt3f+gAZm7XF3wyxuXP82RpiG8poS/10H/nDQMN6AB77uTNvBoj6oT 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)(5005006)(13016025)(8121501046)(13018025)(3002001)(10201501046)(93006095)(93004095)(6055026)(6041248)(20161123558100)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148); SRVR:DM5PR04MB0682; BCL:0; PCL:0; RULEID:; SRVR:DM5PR04MB0682; X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0682; 4:w/CvKDAiZFIgo0v4i6MRA882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R/9y3blabFqWU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0682; 7:odwqXFCDeIyIlqWkqi6y2rXQiA0blxu0g0ZHGk0lh+MDCAQc+2UAdStUjTgZ0TEb/+hafW00nPbaaBslwlJZaYZJtxYpaSo5h/8tojHI3+QOl9dm/tfrmE0Uv7oQhLaulsq0qsNPLmcaTHgeMGO4O7EGzzyiWX1/oRi/4A/RW9giEbN79QEuKnNLT9sDTawYyPC668uhy5GLw/7JNV0kRofFqeBFQWVcODW4/oJ6RClT5eYlWTG0v+Tr5ualfeSJiUlrqmZn/s3qF7/qrmJ1GwFRS3tg6jz+hCvupnqW9IlYZRUsoIIY8X1bG8VaK1XDAx+1qU9xktSa5aN2ltbIZw==; 20:oFINMPsl8AxbUo+5Czcfsm8ylHGz7lktffxUJmS9jewh2nyC23QrfssmJJtLArXbGMhNXqtXtYjJL6RfyXciAAuZvEM8vX6huZGwrjjA9QGSyHJSbbSaQaANmHgn1i/lfmu8KWWhcZylkvczR/qqoRpRhgDusYQVQSdtxvErfTE= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2017 20:37:54.2009 (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: DM5PR04MB0682 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; }