From patchwork Tue Apr 11 20:58:38 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: 9676059 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 639C2600CB for ; Tue, 11 Apr 2017 20:58:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 584C526E96 for ; Tue, 11 Apr 2017 20:58:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CC2F28512; Tue, 11 Apr 2017 20:58:57 +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 7BB2C26E96 for ; Tue, 11 Apr 2017 20:58:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752918AbdDKU6z (ORCPT ); Tue, 11 Apr 2017 16:58:55 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:63532 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753530AbdDKU6y (ORCPT ); Tue, 11 Apr 2017 16:58:54 -0400 X-IronPort-AV: E=Sophos;i="5.37,187,1488816000"; d="scan'208";a="9844212" Received: from mail-cys01nam02lp0056.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([207.46.163.56]) by ob1.hgst.iphmx.com with ESMTP; 12 Apr 2017 04:58:53 +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=7au7iWWXAtbKFrfJd3uMDSRyGvW14TViVrpGE/pjghU=; b=YE3E09yAJOvRYphbN2o0oelpjQH9ztZNP6OHsQPCpRm3B7GwvSAHyeepd6bbD66bZWo6Ehznbd3Hl8PhJ2hbXVw+Zugel7Phbesv8/lqFcU8BW+XstQ/NJG4+BFPXF0Ed5Peaycr4Y0sUXjSEKMLMs1NAqRPiOE7OopT++MuIR4= Received: from CO2PR04CA0008.namprd04.prod.outlook.com (10.166.88.18) by DM2PR04MB398.namprd04.prod.outlook.com (10.141.102.24) 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 SN1NAM04FT019.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::205) by CO2PR04CA0008.outlook.office365.com (2603:10b6:102:1::18) 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; 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 SN1NAM04FT019.mail.protection.outlook.com (10.152.88.152) 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:49 +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 DA.E4.29323.8834DE85; Tue, 11 Apr 2017 13:58:48 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) 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-12-58ed43885190 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 77.2D.11415.4834DE85; Tue, 11 Apr 2017 13:58:44 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Bart Van Assche , Omar Sandoval , Hannes Reinecke Subject: [PATCH 2/6] blk-mq: Move the "state" debugfs attribute one level down Date: Tue, 11 Apr 2017 13:58:38 -0700 Message-ID: <20170411205842.28137-3-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+NgFrrCLMWRmVeSWpSXmKPExsXCddJ5kW6H89sIg3ObpCxW3+1ns1jwZi+b xd5b2haH711lcWDxmNj8jt3j8tlSj/VbrrJ4fN4kF8ASxWWTkpqTWZZapG+XwJXR1TGZvWA6 d8W1Q7NZGxiXc3YxcnJICJhIdD3cw9zFyMUhJLCUSeL9ur8sEM4ORonOlUuBMhxgVR/PJUPE NzNKzF++lR2km03ASOLb+5ksILaIgIJEz++VbCBFzAJTGCWmnfvDCJIQFvCTmNR2hhVkEIuA qsTTS3ogYV4Be4mpK36xQFwhL7Fo0wwwm1PAQaL/MkRcCKhmxdErYAdJCLSxSly9e5INollQ 4uTMJ2BFzAISEgdfvGCGaFCXOLlkPtMERqFZSMpmISlbwMi0ilEsNzOnODc9tcDQVK84MS8l szhbLzk/dxMjJKwzdzDefeJ9iFGAg1GJh9fjzJsIIdbEsuLK3EOMEhzMSiK8s4zfRgjxpiRW VqUW5ccXleakFh9ilOZgURLnPSczNUJIID2xJDU7NbUgtQgmy8TBKdXA6LORecchVY3HC75r vTKWveZc8Xm245PD0mKNKic+WVewLgkuOvjxl4EF78/mv8t/cR25eHz9geS/z76w/u+SWmi3 tFkojV1xd43p53WdEYFOfSlbjFsC0+p3tdxniJRZf8gz/JD9ArtbP4AOyjJ5Exx6d5NSSef/ uAQm/+VHD1X7XBey4XmmxFKckWioxVxUnAgAHiwrYGcCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMJMWRmVeSWpSXmKPExsXCtZEjRbfF+W2EweImS4vVd/vZLA7+bGO0 WPBmL5vF3lvaFofvXWVxYPWY2PyO3ePy2VKPaWvOM3ms33KVxePzJrkA1igum5TUnMyy1CJ9 uwSujK6OyewF07krrh2azdrAuJyzi5GDQ0LAROLjueQuRi4OIYGNjBLnrq9j6WLk5GATMJL4 9n4mmC0ioCDR83slG0gRs8AURokvezexgSSEBfwkJrWdYQUZxCKgKvH0kh5ImFfAXuJW7yew EgkBeYlFm2aAzeEUcJDov/wLzBYCqllx9ArLBEbuBYwMqxjFcjNzinPTMwsMDfWKE/NSMouz 9ZLzczcxgoOBM3IH49OJ5ocYmTg4pRoYFR6nvGS5ZrvoQL6frY6RupK646K+DZF1arkuL3+u mHxt+oSnHfOPfdoV5d6zdFJzZ5WfiwTjtb6rIrWyrItvr7qw5YfwqpRza+TK7p4+EPX+unrU Ci5t6wqh0qjysu33TNvtvpdElEtOaCpTeFK1X/mrdUqA+s6WyTl/2BySQs7dUl++fZeYEktx RqKhFnNRcSIAN3blGrYBAAA= 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)(39850400002)(39410400002)(39860400002)(39840400002)(39450400003)(39400400002)(2980300002)(438002)(189002)(199003)(9170700003)(36756003)(2906002)(356003)(53936002)(33646002)(110136004)(81166006)(4326008)(50466002)(189998001)(8676002)(305945005)(50226002)(106466001)(8936002)(76176999)(50986999)(48376002)(38730400002)(86362001)(5660300001)(54906002)(47776003)(1076002)(77096006)(6666003)(2950100002)(6916009)(5003940100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR04MB398; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT019; 1:NJUQDFUNbUTi2JG/fTZYsu9EVSMBF1zq/a3T4krUQHYMfCBx+55cAC/sFLprTA2TmzHujlLQqx8L3tVNUz5b3p0bBXt8K3REGuD35vRaLayg29FZy1NsmVs/wnDyU6BPu02CBi7xz5mIz9lrFZnuQefFYYmDGmzXhg4eCJnYKs5FSVSh6JhJvQ42XYN8cNmOuB/QWIDYgdmRztWvFtPMN+qi/rCthMoXf7LBwut8KZ/ggqibdKqj9OZyujdKPwPziJEURh3/FsNW5n7VG6DvKCo2/LlNJOOri04f+8JnXKMG/X2Ix82BESNHO+nv0kpxXuEJmiCgLN5ZKo4qyArS3yb5LDXi0lb3nUpBTRvif7o6USnqH5BXLAh67CvYL7LSJUbQlJwGLMbdDzDFqok0I9ZvTvj4WbGqRBfGMiBEVRV5jRJoRqe5mxaz25h8RCHtr31DWXD4LFdDCkqsWcHj2TB0kBLgltiHdFME92sbCDIbpFmR7QDb6nOWMGgtT+UI X-MS-Office365-Filtering-Correlation-Id: f2b4f3c3-edb3-4b04-a070-08d4811d8e99 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:DM2PR04MB398; X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB398; 3:SBFm83fWHgG3hBfuTeRn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EE14ASF5KDo3McEP131EPCJ5P4RYGvuHjmwGIQfiCUt65Vp6ylAuTk+UQDWKIiYkdbsSirAR34jaTCTOYW5ZasCcgT+flBdmcCpfieLMdGQGmJBMmDXZ8mkMJmtY/5yovSUSq05R5M3ShqfC2YE3G/FN17N8jaReaEe6iu67DyVLl+DYjdom+wg0dakP4Enh1i/r3pQ== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB398; 20:IQc8kvjA5m6JGkzqQQFCmPrGAkdeWlKkg00IzKR3Vnp6m4fpzICcBLgfanbUdDC6dEJXah/ai1dsMi+o/PqXQURuq9zoloJXbk0+d8BAVqnh0SySMeHtfLyC29Dml05d4J0/9KKGOsOyk6FVv4SSeWXa9MyXdtxo+JndJCoKQ7cAi7Vwe/WM3pW33srj4kkyCRRekLRs5mwBRhvqitNn6f+MZuR3BjE4PdZdZCw87WRX60un/xFb4nDlxB5EErfx8uPm2prcPTY9Ac2Gxe5HawoPpT6CoiYChKm2IFzL8sHRVxR6duoS21d5fCBxR2+sGQBHtpXxpYWie+OM0Ed776AVjGORLfrzoMENNmhwzbigk/UsgvHwRUsydeHUybJryKz/J24oU74qGXGr/sm2x/cfi7v4/k315bE0NbQ3PzKQUpiJdQzSCtpeZA5fywBuQcRL4uK7oIAvu+1cfBh9omTqUL214ROJKeefF5F6YbPFR7rWsH7TA07khfxLrJTq 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)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:DM2PR04MB398; BCL:0; PCL:0; RULEID:; SRVR:DM2PR04MB398; X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB398; 4:Z4XO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kLuYj/v5pHA5AtBJ+v9bhYxB5?= =?us-ascii?Q?dgeb1KRE6uJS1GoZaZPhw7N8Jc+dyk64ZtPW9kQy9gIg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB398; 6:qgEhwbILEyEwQC1YxFOByyXJr0qdX716HLCD0G8n84LPGFE/iGTkl2trZYgGe1pXrqZ8SgfC39Q9NT5VSIFi3ojBsiKJr6BNGb4989+1PJh/4ozrTkWVjnuGXre8xhXWaWZ+pK/gCInTBP7Lafk1d91i5zO+kighals+9QuwR1IYdLl0Js1NRcD2PyKgH1uwRRzY8tsZoVOBJJaDp0vY4jQmtfnwCL5DPzXjZfj2e8TOMiAXX01W9zTj32hQbsLclNPfBbSgsxW0I1lJlvN/WPiyytIwvfhypujYsk6OPZ9IG/0e/HIkKjHcldcZBe95ilIN1NwajajYZ2ukK15GJg2gbNu+Pg7zast13vD+egOYQHRuf6wTd2u3WVWyTDHZ9Ra32iT22va2yn1lDT/fK5WrL1uDi3JXfjUrCQGXTy1HLZjMIrkJnTCnWRiHsbmwk5SCYunEcMygnW0QwScPumOFembBVa1rkqx0005mWN8=; 5:GB43nuJlCRxiklWS4eAPUHyWjZmjt2wybS0lrg+GNDs7+ibxPZGmjaV2T1o+GBe+SUQH/l0AnLJ683NTZXFJyicsHlpdxHMESEnRdL+Es1fpj/oQ/2VBMOJxc4EPcygejE6cG+L3wdwYiEMLW1iskw==; 24:U/Kx51ROVGKnhHtjm4O0QI5dj6z0Oqlw+WKhee1PZe+IWpIv11jCZmTNEUYWOtBzelG0Ogjjlvu76+isvMdvmaQsxM/ThGKT7ZGcV1ye7E0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB398; 7:jrimaawRNWmbG9Do8xzNdEXowG7p48rO5wsL7a8Bxv3XBfji9JvuUGTalWVorNRT8pE2Evfi1qd2SXIcNUtybpvL2nTGpnCzOz26qtH/sJ6aKVWEM7fR0k405AgP14SC9VLPwXJ4mTod4YNg3LofvkHPui1bd9zUf+MO0ZZlZB3/ML66g8u1gukh51xPdC86wZooggan8Y3JBtw3f7O+C5Un8coJCWLNt3kjSjENyzMeQMGZQA5HGxC5aV7t8wVYixQwItYaWIUBydD0ZKIF5Id0fRuQrn2V8iPJyNM4UUBymyKFdy2vwAuLuA0bY9NCmu/uPNIRIB9/ncQdFeLivQ==; 20:wCJFfczcbMtiF+2t6MAGW4qNOG7l4/sCUEzLytyJGjDhCW26ZyQ1eCzHSJxlFC3ulfDnt/P1+jjcx3QNUuJRtVJAI4RX83IkKP791m3RKzKzoW2B7MUW7YcFTEejBcQgqw6+lvk36jRJoOTFlgFwrkig/oDfqEBFSPrP6tAcM6A= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2017 20:58:49.9580 (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: DM2PR04MB398 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 Move the "state" attribute from the top level to the "mq" directory as requested by Omar. Signed-off-by: Bart Van Assche Cc: Omar Sandoval Cc: Hannes Reinecke Reviewed-by: Omar Sandoval --- block/blk-mq-debugfs.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index a1ce823578c7..564470d4af52 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -149,11 +149,6 @@ static const struct file_operations blk_queue_flags_fops = { .write = blk_queue_flags_store, }; -static const struct blk_mq_debugfs_attr blk_queue_attrs[] = { - {"state", 0600, &blk_queue_flags_fops}, - {}, -}; - static void print_stat(struct seq_file *m, struct blk_rq_stat *stat) { if (stat->nr_samples) { @@ -762,6 +757,7 @@ static const struct file_operations ctx_completed_fops = { static const struct blk_mq_debugfs_attr blk_mq_debugfs_queue_attrs[] = { {"poll_stat", 0400, &queue_poll_stat_fops}, + {"state", 0600, &blk_queue_flags_fops}, {}, }; @@ -877,9 +873,6 @@ int blk_mq_debugfs_register_hctxs(struct request_queue *q) if (!q->debugfs_dir) return -ENOENT; - if (!debugfs_create_files(q->debugfs_dir, q, blk_queue_attrs)) - goto err; - q->mq_debugfs_dir = debugfs_create_dir("mq", q->debugfs_dir); if (!q->mq_debugfs_dir) goto err;