Message ID | 20170421234026.18970-8-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 7977360328 for <patchwork-linux-block@patchwork.kernel.org>; Fri, 21 Apr 2017 23:42:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B93128668 for <patchwork-linux-block@patchwork.kernel.org>; Fri, 21 Apr 2017 23:42:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 607CC28691; Fri, 21 Apr 2017 23:42:10 +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 C9A1128668 for <patchwork-linux-block@patchwork.kernel.org>; Fri, 21 Apr 2017 23:42:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426867AbdDUXlz (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Fri, 21 Apr 2017 19:41:55 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:12013 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426866AbdDUXkk (ORCPT <rfc822;linux-block@vger.kernel.org>); Fri, 21 Apr 2017 19:40:40 -0400 X-IronPort-AV: E=Sophos;i="5.37,231,1488816000"; d="scan'208";a="12906122" Received: from mail-cys01nam02lp0049.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([207.46.163.49]) by ob1.hgst.iphmx.com with ESMTP; 22 Apr 2017 07:40:39 +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=qoTqoAqbhdyoPWiNtg5QxNd1AiS9bi9nVlNRpspu4Y0=; b=Iu5j+p7MGf27MrdzX400c6QCkobWhkloNiFK/eAsWtvDTAYbBHpRgBqjDxLtommymXj9G80oxBb8nY0e24GsW6HSl4DhYSDWoLWT1m4O4Sm//bj2M100DFn/zWsQCsONYR/eDymb9kVp2gtPGn0jIS8GKMzh1v9GMBCZC/XR4Nk= Received: from BN6PR04CA0019.namprd04.prod.outlook.com (10.172.194.29) by CO1PR04MB411.namprd04.prod.outlook.com (10.141.74.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Fri, 21 Apr 2017 23:40:36 +0000 Received: from SN1NAM04FT029.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::204) by BN6PR04CA0019.outlook.office365.com (2603:10b6:404:cb::29) 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; Fri, 21 Apr 2017 23:40:36 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; suse.com; dkim=none (message not signed) header.d=none;suse.com; 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 SN1NAM04FT029.mail.protection.outlook.com (10.152.88.147) 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; Fri, 21 Apr 2017 23:40:36 +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 7D.C0.19026.2789AF85; Fri, 21 Apr 2017 16:40:34 -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; Fri, 21 Apr 2017 16:40:30 -0700 X-AuditID: 0ac94371-41ba798000004a52-46-58fa987213dc Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 43.66.18148.E689AF85; Fri, 21 Apr 2017 16:40:30 -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>, Hannes Reinecke <hare@suse.com> Subject: [PATCH v4 07/10] blk-mq: Make blk_flags_show() callers append a newline character Date: Fri, 21 Apr 2017 16:40:23 -0700 Message-ID: <20170421234026.18970-8-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170421234026.18970-1-bart.vanassche@sandisk.com> References: <20170421234026.18970-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsXCddJ5kW7RjF8RBjsPS1usvtvPZrHgzV42 i723tB2YPS6fLfVYv+Uqi8fnTXIBzFFcNimpOZllqUX6dglcGZ1/J7AXLOGu2P/4JUsDYwdn FyMHh4SAiUTHLdYuRi4OIYGlTBJ73n9gg3C2MUpM+fQJyOEEK9q4YwkjRGIzo8TtM++ZQBJs AkYS397PZAGxRQQUJHp+rwRrYBYokrh2vI0ZxBYWiJJoW9sKVs8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version: 1.0 Content-Type: text/plain 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)(39850400002)(39410400002)(39450400003)(39860400002)(39840400002)(2980300002)(438002)(189002)(199003)(9170700003)(5003940100001)(50226002)(305945005)(8936002)(48376002)(2906002)(50986999)(76176999)(106466001)(53936002)(4326008)(33646002)(47776003)(5660300001)(54906002)(575784001)(36756003)(86362001)(2950100002)(6916009)(110136004)(6666003)(77096006)(81166006)(8676002)(1076002)(50466002)(356003)(38730400002)(189998001); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR04MB411; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT029; 1:59qtmf1FwUOJf9rflbxQnpSMPld3JvG6NycHoZ5B7NaGL7srwgQtj0MNuXvJewlHqkmtB5OTBlxvDG3ssu0qnapX7iDC3Uiy4PyshS5VzCa1XbgLHc0qMvlLS7FDPx5ScMiTCgZWjCp8wKQGeS9L8KGL5yRQiftcQe2gmj+EMwk+f8w/zsDtQ2zoVMUACVogbVe6xnH1NlyOGBJQLm0Km84p0dbXJ8XXFujRO80mlckcal+Xz34KE4zpjUGz2XTnZmbDnxw04THjTuefu/N7n4+6YFy0hOC5RoAY4NBNT6Qus+A0uAP+Y0Qcdr/LdEqcBRLStwaWlpCwpCpeFnYOGd2MlRLNLllP2c+8/RSL2bDzs14PF2NcI2SyVyVJhEQG9i5TPTDEFTtOSHRjDI+Ja0vg/iH19z+nU2pf2ZkEW4jf67U+5k+ugvKeR4IAB1PxkCMRyV2g//vad/I7dASttdjqsm5z4wNmtQUSQHKUIaJndzTQzpSS0fO1kQRARW7tcNA3OszT1Rg4bVPfMfS0TRc5cKT8F3cHx9tgpKs8YJA= X-MS-Office365-Filtering-Correlation-Id: 7c98ef55-bea1-44c0-36ad-08d4890fcf77 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CO1PR04MB411; X-Microsoft-Exchange-Diagnostics: 1; CO1PR04MB411; 3:8YAuQbn0ua57L7891kAdZ/iWz8FeYA2p9xP5+7oUi1i3dZ3b0RcgrgCPUdyw/xBtKhwtPn2309hfFiLIWszMf/wyNaMK16fLu6fsZoBARXl5A+kcU+mu8AwVwYCxWt/PZs6ln3TJA1thIUVNu7+HBhKkpePetynzk6K4OB1Fub9STRBJ+UJiFPR1J8ZMsbVxcvLhWDy7v8dbGdkrmxnbetgH4eKbMw2hIvPTtTY7dS6KIAVZE+lcadwi1l5b1H9kYUA9zXy9tbUvXEQB7gCr1H21rwe+O2qfaAzIvM0uEJfnxUoYwbljpcDOKpPWpjAnsAjkMs77QfeBnGYuqix4aAjhsmzPwOt8sBAWSuMfZcsQurfuOWc923LQEBsd/dbJIPa77aR+DkoPPmGdmrxsIc9xe6rONxKL+QLhc9g5JZGIW9MCptbUzvcQsnR17tSXdFSdhlXVa0h2Id5Ij3URO6Tyt2sKRE86d6zq92iTvXJU+RlhpUxzS0rLTPYyL1wh X-Microsoft-Exchange-Diagnostics: 1; CO1PR04MB411; 25:vFHEp6ouUd0U9cI2f+Gv+NKMMeag1foZ6ewiVuisBTSPfVw+lrsS59SD5o4LoSFhZ/I/A7wiK+cgKMipvc+bYMBbXUGU4L02RmV5yrlDcvp3YuEU2SY2P6ebL5BeR6BqAT4qo+4mDyufWnMu9YXnMUgM67Hu6TClGT8Q3TtUuA9IR/sFqj2iBzXeeZc6Cizotr7dpilcxRtxtG8AM90+Fzs/wbHsCWmKMD3f1jB38GnBbfi8UNtPKw0mpNCQBT8wk/iSeYFLFiPD6Z+6gCzOfU+ui+gBMmsu1sG4zLm0+FQ9IPCYG9fWrT+FtRHJqz4Ke9THnb3hwt4oihbnXtG498Uw5gonpfmp+5NZ7h9EndbD+BzW0BcW9eBaLlfcRZ7aaMQKTXyzXGXSWEGBg1XDa0o08IjgK1VvSSBc4LE46ivEoWuqD8PB3ojfieNYnuzejX0FgjERciQFtE+xSLlv4g==; 31:UuoJugUiD8PtWfI9fWacjzaVDZv8FS1sQNvsw/Lnp0CsjLcgAC9TDhAYSiOUmUJpnaHPiylQd+619FS67gO8ljZg19KNqIBbgZozPNOjc/2QuZ9BzGnreTUuH4u0qi5f0FpjGZaLNalZ+REqUGijudn+PpT51C3Uc8Gjfe1Hn+AOebiALe1G+SP+5DIMChVhDu80H6yhkayIGi6rUIKFO2L4US6Ehpds1UImRyjumbNt6B1YEHU+wyaSchybC6DTWVmGO8qlsPrW/3fk/tDh6sqpJLQe0MRWtqnQBhGcRTU= WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CO1PR04MB411; 20:d+s5mWitoGAeqlO1xibbfUh871R0mTgcpcSiF7q6fHlQ04Cd8aqU8CJVatul+f1j0oSHjgFNLN+oLRp8nX0DVmfVF9qhJrC/uCmrHjHfTRcsp6HFhfSR8KlQpC7WbinUApU8czfH5ux0S3iduInMz+OB9kfRqbE3TGj48QsVxIKrvR2YHDYp20DrAAJdhznCxhiCHKUb5w/QGWTpqcXnG3gZwTJnl9/2wikOYHMAheHWZJgnWX2vK8M1e4/85QrRmPtA1coy0luTV4TkhYyINsbe5x74LvfoD8yo/N4ih3wgZkwgFVHrJPO0v1wUU3ldldmQAvFg6sWvl0Gsvme8SNGAgcjoj3IU2P11dYKbMKwxmscYCA8KNSy6H/K0UsmeCN0bZfR3aJfaTcSOeQW2eOXMtNOqUmiUBcOqKQAgqMxIUixCvyetngPmI7DEpUhsocy9OT2PpJIYEw6qeZnOQGHXToS0sfMMUzusT/JW4YGnU19q8UXEraj2yyRxoJr+ X-Microsoft-Antispam-PRVS: <CO1PR04MB411E0C6B3017312C38150C2811A0@CO1PR04MB411.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)(13016025)(13018025)(8121501046)(5005006)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:CO1PR04MB411; BCL:0; PCL:0; RULEID:; SRVR:CO1PR04MB411; X-Microsoft-Exchange-Diagnostics: 1; CO1PR04MB411; 4:ssKPe3zJa/9hVPV5ICaCL8HRskbZSrpPJN1DJkQ3cjMuhK/KjtWkokuuFFYBLnMQGE5X6u7RUzNAgcaCc41RewaI7GF3/vr6tDG4eCYyj07jsY3Z7jvDW2hx0RnmDxAzwfR74B35qkDKX0+ysxKyybGZ9RweY4ll3u64WxvDHFI7B3os4EYwPfUveAQZlk5Z8HkM5Jw2Y+PONnJILNutvzJ9zejZ0fyt6/KUQcFmpThd0UCMRH4uyxf7N7t9ZzsBMhx9ij2D7LkPZBMT1LSpby/oPmbHcwn6i4iw3xTg8U8cyQgyXgQ5PyM/ewHBpl7M+iPnjIwcZFmi98L/rGjK21ioGi2mJYWsmxY8FuOazn3h1q5fNeriDBmBoRGA5Pjb2sXyAngII4lE7gyiq5iMK4aKxzZkqPSWVHMIBm2tfMH5CQQ4IlrXFvF/O+i8lhb0yAy+0Ccna3bHNVVO2ffeT33Lj2NMrrZivysiSpWdlKrnjNeBH5XaWjc6HnfEa8fiG/1SIUPFtqr5i15MhjAhlfPfEUo6wPSCzQEHXXvIeEnJ2qn1yGhljRSQldT+xU56Qzb9QI59RT0TgaNRRQKpMS8EXIlRN3tVAC9AgfRlqzjFv4zrE6Sc6vHkbVmcKbk/5c8GMHfOsostGO/QjbrDz1fN+rEjf4bnSnl2r8hCcE4ixjW0VickLyJYrAhXO4PmYY2cMQiXmepY33WrNc1E4CkjITJmthnp//DZlZgqYqSpD1BUGL2Pzgfc6Uhtr0R7T981wD9Iz2d9BJ6lET4iWzrfDY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bf6zP/09E8LvRBqHO58XhPldOIllHnsTYXFTWd2c9DZg6qpRK9FEc5JYo672vtjGk+IgsYJmPCIhlf8kg==; 24:FlP5o2lgkPhaYDnomyMMQ/hQ2OCBi2XWShgTytsXVlh9IPPazlzbO2mX7vtWkSpXgrvObqT9hHMuINtDhgcPfcmm6tA+Zf+95MvUu4sLx4g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO1PR04MB411; 7:YCY9NDewdrblNxajsozkQlQbC40l7p3qd3SGVDo1IAkzPHLNqclptMMGPZN8gxQwOuaxtOioy1fKrbgxs29OAiDEvdfifpgb8fjYIoZKlR399n3u4TaU3SfNhxN6iyVzVFyoFeLgOQ+V5PkCnr7vftKkeaRZa89xQoLAjZHlP1ON/BskyQvAlCWS1oZQFBk2JIlnDG/bIWg+C4f6hbnBZg6csIp3p2ZAvOHfRpW5FcE2BJyKuJGg6kzsthjqCo5rx5yvCgMpAuOKp6ndnR4AuuC5qyPt5nyJlCLoDqZYYD830TCol0ULFuNAtPjo4S8L6bX81gMmLBTp1lJo7KQs0Q==; 20:pV/VbnXYjf7xqJyh5h8wk0TmBj26oIRv/O0GMBTRg3HlGXvrxoFi+HlbCyM4rDLpHCj0ep5vonW9h339p9jNmRXYtNhL71zBJqLx//Rf6HUsHS+kv1IuFPsUs1mEjWwBe32Tfkwq1rJO+hOMC0enEMUJo4aCZi+l2d9bu5iZ568= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2017 23:40:36.1168 (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: CO1PR04MB411 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 04/22/2017 01:40 AM, 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> > Reviewed-by: Omar Sandoval <osandov@fb.com> > Cc: Hannes Reinecke <hare@suse.com> > --- > block/blk-mq-debugfs.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
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; }