Message ID | 20170418232949.5228-5-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 540166037E for <patchwork-linux-block@patchwork.kernel.org>; Tue, 18 Apr 2017 23:30:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4649C20265 for <patchwork-linux-block@patchwork.kernel.org>; Tue, 18 Apr 2017 23:30:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AB3A2838E; Tue, 18 Apr 2017 23:30:50 +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 9A76B2787C for <patchwork-linux-block@patchwork.kernel.org>; Tue, 18 Apr 2017 23:30:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758181AbdDRXao (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Tue, 18 Apr 2017 19:30:44 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:3701 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758236AbdDRXaH (ORCPT <rfc822;linux-block@vger.kernel.org>); Tue, 18 Apr 2017 19:30:07 -0400 X-IronPort-AV: E=Sophos;i="5.37,219,1488816000"; d="scan'208";a="11461396" Received: from mail-dm3nam03lp0021.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.21]) by ob1.hgst.iphmx.com with ESMTP; 19 Apr 2017 07:30:01 +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=Qbg+wrGsEkoA1VP05mJtWZSvdyOchrokp+ajvKbhEjk=; b=tUaLWn6q+3oo7D/p+9/wp6BfZC3gU9GfOuZ1tGuncypu+434BtoxFFZzDPeyxr+oJUXXcfRqCUV+JIC9a93Cj2EQJw+zLkW3asAzxMkvOMLxuvarrjCl2O3ExlN9wWcQmsYYIvUhVDk+bCocTYsMLVXx+r5MibYPsD1MYipx+NA= Received: from CY4PR04CA0048.namprd04.prod.outlook.com (10.172.133.34) by CO2PR04MB2230.namprd04.prod.outlook.com (10.166.94.14) 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:29:58 +0000 Received: from BN3NAM04FT013.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::208) by CY4PR04CA0048.outlook.office365.com (2603:10b6:903:c6::34) 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:29:58 +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 BN3NAM04FT013.mail.protection.outlook.com (10.152.92.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, 18 Apr 2017 23:29:57 +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 6A.93.29323.171A6F85; Tue, 18 Apr 2017 16:29:54 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Tue, 18 Apr 2017 16:29:52 -0700 X-AuditID: 0ac94369-548749800000728b-d5-58f6a171a6a9 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 8B.84.18148.F61A6F85; Tue, 18 Apr 2017 16:29:51 -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 v3 4/8] blk-mq: Move the "state" debugfs attribute one level down Date: Tue, 18 Apr 2017 16:29:45 -0700 Message-ID: <20170418232949.5228-5-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+NgFjrNLMWRmVeSWpSXmKPExsXCddJ5kW7Rwm8RBr0TuSxW3+1ns1jwZi+b xd5b2g7MHpfPlnqs33KVxePzJrkA5igum5TUnMyy1CJ9uwSujDub7jMXLOCu2DN5L1MD4wbO LkZODgkBE4m3n/YwdzFycQgJLGWSuHVpMZSzjVHi3LHDbDBVP5ZcYoVIbGSU2PToPgtIgk3A SOLb+5lgtoiAgkTP75VgDcwCRRLXjrcxg9jCAoESzZP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B AAA= MIME-Version: 1.0 Content-Type: text/plain 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)(39450400003)(39410400002)(39400400002)(39860400002)(2980300002)(438002)(199003)(189002)(9170700003)(77096006)(53936002)(54906002)(2906002)(50986999)(76176999)(6666003)(2950100002)(1076002)(81166006)(8676002)(106466001)(6916009)(4326008)(356003)(189998001)(50226002)(8936002)(50466002)(47776003)(48376002)(110136004)(305945005)(38730400002)(5003940100001)(86362001)(36756003)(33646002)(5660300001); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR04MB2230; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT013; 1:9UCELTJ+ST1cdzo3nc9/JWGQPIaUxZyKJxaJtsvXvKTkjtYdCPtsxEmrEdJPJ403GeEKpQ/f7EIwdwyvi0NR4vvkAbetWEp9L8Iz7lqGvmKGXg21KQw8ztYwhkp5+3thAa9sgKMk8rmclhJdfGSt6/zkRhTsEC834ha5cV211kCkB1AsdrrJItWmIPqM6KtaJSh/jAfJzSXCAovCI6Tr19Hs/jMRBY5cp2k5oUqn7cf6nAOpOxaeoSCMVan5AKo+rkdG37nw6E0TjRFR319QtQXJYSItsFv1q2lkMKbGgVs2nYWlkAkzv29Ewmy8L7pMV7ao7Y7D4kfIEvmmpd/nQDOQfzqQXAA7Hf3mbi6k/P3+BQNB9Vd/sI5ucSCvVe3YpGFmgXagK5E0+ld0YDT+bYxlf/zv0SsUTyDmUOutV6Rq5fCNo3AgZSmMbqyvIePRDQp+BLFESU7dZq3MxUQ8/L5p6s8V4JEVuGqJfn9Z18WYJqrzoYjmq/v7obYICkba X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eb84cddd-ba4c-4c39-7aa5-08d486b2d387 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CO2PR04MB2230; X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB2230; 3:awEgRFuMoeXR/RxKCyPszccFj+6Xid9i9kQvhgZ+TQij+gXP86Ws2qxzmKiTYnYjNc6PeQ2gwyAa2i8EP0dxgi4LJSMmUbS7VIkSgfb4NdTODxwYzUFaFj6bFm9FHjl2EGilmen0Tj1Xsgx+89823IqGEFaM46yPlwVDiwZUUrGLIG6VhzySGUVw3I2VVinRQzuOVDZFi9cg67LiB/oPNQNNnSwJDOuyaYlgtpHTIgbGqlTA7igd8SVpAdqtaHWSBfNEFdA3ARdEYAqWFHNMDjSfW8mAbKqJgb2Ip4HCPM1t69Qptx+06xbkpuk9qo0UASaRfr1fv+HeI3+Z9ukpGdoLqO7fkxMshhiBuCi9LRdHGHlJOfhXeu0sHYO82wrFRO5rdQbxQbgEYZkHPWgG9aztbFNXYUl69sVyFtZYgDgOoH9mw9jzHS2C9a2yWGJxlFwv4YdlBfUHS/rKiHCqISODyi6r1ppeTjQ+dlHebexSF98iTTorjt8Tgfmq5+Hc X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB2230; 25:Mko9L/olMV7n8UBZRjweLs8gt75YCQXjYavHITPv1N3eIXkeWgGCeokoFttZ9KhC8817mWgNRkjCBj8po8amyqN73hSaNtoHiERoaDkGzP6dlO8Xlh1oXWQLPut07Uh2mWCrDFMoC/arqtu97/uBDO94ajRooN+x6iW7bgO/fQNbWBQ58ByUxifXyVt1Gnf/yobvPOSYm+SDCfRf51DLFs31Ytf1iAu11KsVP1jBbEpg7prnRFGoID2MGD6zWWdf7aq3kqR9IXLSrBTBJoU9eun3r7VLCB7CNm6/UzvKq5ZtHjzJd+fPmbaEcGAeDsvyjPPCuyWTrZgQ0TpELaLT43AVLUe4cpV572VzeHLPfuYFGQyFfDYEzY1dUrvfxdQmMajGkR6aZaGzTQJaUQD4FxDpsF4JOZEhvFUwDdBGPxOERabWGMvigndeP+1zfpE5cmnA8bYkLFsPMzmSi18tLA==; 31:HGnEVLz1DD74NbpWU6rDM1zEM5QxrWLWvZKRFwj82vYs2buICfVr/PyAW9UmWO5kwolGfcbC7VK3nkAZXrnAXiiRTWPTX27/iDF4P5A7NylzkOjTgXx1WeEv4M5u94B8Ca06tAHPBsa6u93igisTW8YxDay2iGBP6nAG0jEp4rIOWPWKJPWeNKlhm7x2MFLaixS8sFHVudB+x8A4+1jsuuDwSRAqnayscFzlx8azBRSX5627G9FWGalux8mpS6wjiWhchND4hlK5FJlyGlk/Fg== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB2230; 20:ePwjZewDAjD/IUp4at2VEse5e5+Z81zqUy0DzUpMkS5HAwKvc5lfHqfYFPSqGQqjbhoTWQWkeYgDHMGGDsqS8JREbW+Jdr9MN8MomIGCc2xHwxqmL6huiNimg0jSjMDMKUCDWOslejgaERBEeFiYPGNYTAHVZKrPLL0EQTqkWLCty6CF2GsSqpAVnNtYarAC92CKaP9b8hsvBU9uEXJsuT/hhiaryzzE65MFu103nUTI1CxQL5pDHcY+Ew1Q9ZS92m+jptyH/ni91S221nTE+TxptTbGxdYQxHrQWlG/rNCauPbTJZGMSEhDruv2BO9VNzmi0He4Sj6CGqXprvUs7EfZ0reslihky6bjlCI39M8bpRtXxLzuUYDFehXov6xu3ulzRhXiH9Q2YVNQW4TuHJcO0MjiyQ9vGFNmMD/6YWY1M9TTjCPHt3/mj3UQpUZ0VWzTGcfN1x7KnZGJ/WLsKxdIuCJ6ZKh/YMfr35ql1Yq5xAPRMhadGNMwm5CqtKx/ X-Microsoft-Antispam-PRVS: <CO2PR04MB22304F8761A9483E00F43BC581190@CO2PR04MB2230.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)(5005006)(8121501046)(13018025)(10201501046)(3002001)(93006095)(93004095)(6055026)(6041248)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123555025)(6072148); SRVR:CO2PR04MB2230; BCL:0; PCL:0; RULEID:; SRVR:CO2PR04MB2230; X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB2230; 4:t7je1Aul2K8QBP9xFduLI1dlm+Zx0GXuF33qYz8kTKveNWO7d4O4NRvi+2GPvPOxOv4lGncq2kyGskZY1N9jQtHLRog+LP23PgmiYCdtbRC6NctmMWp4kZKmr+fVgeGDcKpZwhD19tHpwXYtHBWNKecI0vhMhZ2NuPcbQsoMoGo2dAfqLJsuE7QMTZb7V43i1GYuOjd43SKuXRf6UNCfvh9cHlbUfvvGgBFwj6HCEDj1GrkW7kB26BC8aebi3wJ/cC6iJ2v5VxcQx9NwetNQUg8PnnmKPKDSMghqURZQKiVjbVgshym5ALtfVt31qePhS5aH2+03a1QUfI6XGQxzBBAGRKGL8U8gIroHHKsz5HkK+iaZUXDBsWsywWBDSU5TGn3caiDAh1slY34TiJyY+ItbAXTvHPmfFFfRxG+5nmT6+jrcRJBbjtp2U+L97Wr+vQV53TtlqKOf3vK/knMZwkWjTAeiFSCGnLol0XjvTv1MS/b/2olfJC0DVkSKB2FquZpCvH8lisrIybJcn9Z+vATWMh43aJxA/UtWy6geFNNB8lcqOJIhr1tUx0k7aShDyBsq8kp+VrNGnUpNEZJ9kLCzkBl+0uTSDWfqNJXdKWNpbVZ6DHZDMUD8FG/qZS6mwZ1XNkVdv0A6u0Mi829DKqKrzJr5W1geokWYKzI49m5FZBmI42NSCzSGUDk7s0V2XLN/BAFgBYPRovk0jqlMg1OPuvfC4kpziA8E0ko1CFjr9pjms7D8NwsHp2IDVGoRRKzGIUYwZaVGITqyQxB/G0bBuqAUQyoH750HrIGirhAYCV6780H5Tb673DKPgEr8rEj8TgRuLGaWTiiWvpQTn0k2eVQgWGmUUsfJyzFaEEQ= X-Forefront-PRVS: 028166BF91 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR04MB2230; 23:fhYTzwmyjQ7tRwxUtpjO3V+XWuRyfnDjbby3ng2OV?= =?us-ascii?Q?tHJ200xXhzz/qCcbWpqVCcL+Pb5xZ7xRqGzfZpLKpQk1cewusa94VIfXye/7?= =?us-ascii?Q?/YkbKtQGgYbQ3DbUcEtGEwx8IGDrEu/Elkac27ezBc61MU2x8PEY9S3x3LC6?= =?us-ascii?Q?tnyyQ+G+0dxUCD5JYHHp3GY8g9HiuZUj1ewJpp0J9jGblVEU+8KwzQfJ2JMm?= =?us-ascii?Q?gs9JF1AAhyiFp8Jo4PQnc51VzXNbLePgYiUNwoBd1435ww5EeEws9hLwyDAs?= =?us-ascii?Q?KPSf0sH66wARoJLwzh3/+YIdMUG7GBGwxaeOwKeQCVuaAl2e8bJWmxdniRBn?= =?us-ascii?Q?Bqssb8ckrepRozBdJy+lNavVY7ZpwWF2GhXHqf2vkQGE/BSmYVZg+/+kDLjT?= =?us-ascii?Q?n7Nfu/+5UL6odouXJjBRTrwFBT7h52V8Sp5CA4+ptAMwuwnv0pyp/2EZfqEj?= =?us-ascii?Q?jbQAREtqZWxCvEg8PBLuzjy2y7Cw1DeGutF1ifCqkwGnbSkfIIjKSXJct9nJ?= =?us-ascii?Q?jWqo5PNdxNd/FOOQs9bRPKuGkdQda6sbaENpmOPVKtmXcsgK/PwehAAUoUVC?= =?us-ascii?Q?EdKqWajhuviSsGo3kq+E4Qy0j4tz9D4FOWu7Tv/dz0FaEwwPrgyTvip/u15C?= =?us-ascii?Q?IHrPh+IJFrJI7crL4kQagr+E5lAaDh/RM86ougFVInaSE8bJS6cn0xH3dIQv?= =?us-ascii?Q?XKrljpV0XTzom3mR3kw3+K5DfA6g0mdYYZlijUFiZrMnn4ng58lq+q1S21Ay?= =?us-ascii?Q?bt4eQZbJ9hp73WjriLL7nt+iCYnJPLotb75xMywxRN52piDzFE20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jGhsvfprw4mFr6bPecX3f8oVzqtzMYc7yYyKArJ9Mw7fu2nidU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB2230; 7:qRO/rWK00b2rx4Ra0rQuEBB7T5Gyqby3aCaq82KWxQwSou/6lox3qr3wtJ/rx87ZdB3FanXP/daHn66uwDP/3VqgWZCV0i5ehulfcybVij9F5X0qYTVSfhtJuOs5dZh1GAlgzGLs/QY6ECDNjDN6poceUj9HYs+vIGxlH+RK4B3wo9ICPxc36yDMe4LDaYTvJvx0lbyPIszVHjxYs1WQSYevl4+foWGa/tt4WYmNU383jY/ls6mKaGxqfBBw3hdOLByoJk56YocM0eoD669MREvvVrTD7YldCGB7xk2JD9OWbYEChZ+0NHx8CzAWs++URSg5HnDxB2adYrPD+0c1xA==; 20:vy9nvlmBLpMX4TV3Sal9IjsyCQiMSuYR4eSIdg7u08wx/T0+BXf2fYw6lj9ztjdvf7rXSTUfeNQsze1luI050Oj1UoggXLrSU4gvxEXioTqhUnhXZEEDvhX4k1J/1NlROAXbHLO1Xlh0U4pwpOWLR9DBlbGEcSLxTXA8hXoLaE8= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2017 23:29:57.0066 (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: CO2PR04MB2230 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 |
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 2a5d6d83d57c..34cac9a5fd28 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -141,11 +141,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) { @@ -754,6 +749,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}, {}, }; @@ -870,9 +866,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;