From patchwork Tue Apr 25 20:37:41 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: 9699705 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 403A160224 for ; Tue, 25 Apr 2017 20:38:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F2142846B for ; Tue, 25 Apr 2017 20:38:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23CA928484; Tue, 25 Apr 2017 20:38:00 +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 6B89A2846B for ; Tue, 25 Apr 2017 20:37:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763218AbdDYUh6 (ORCPT ); Tue, 25 Apr 2017 16:37:58 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:48232 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763324AbdDYUh4 (ORCPT ); Tue, 25 Apr 2017 16:37:56 -0400 X-IronPort-AV: E=Sophos;i="5.37,251,1488816000"; d="scan'208";a="13099531" Received: from mail-co1nam03lp0024.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.24]) by ob1.hgst.iphmx.com with ESMTP; 26 Apr 2017 04:37:55 +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=WHU/aurIVV8Ps6a0KMRf7SUddbPk6M8ydlLN1lA4kNc=; b=GCwenT84bZTzv4rdDcXUW9fWoHan2+CxZ1TutWcMpb1dMwvLDqPfM+EKhqXBi+8zZhreU/yXS3SOwlVKuptiGQ97yC4qb1XorWMeINb55IgYPtp9L2TqYH6AGPvzT9vHi9wqNpdKqVIXz6RsBc5Ml3F8o9/AJK4DRR5r+p5XdZs= Received: from CO2PR04CA049.namprd04.prod.outlook.com (10.141.240.177) by CO2PR04MB891.namprd04.prod.outlook.com (10.141.198.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Tue, 25 Apr 2017 20:37:52 +0000 Received: from CO1NAM04FT023.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::203) by CO2PR04CA049.outlook.office365.com (2a01:111:e400:1428::49) 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:52 +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 CO1NAM04FT023.mail.protection.outlook.com (10.152.90.148) 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:52 +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 04.1F.29323.E93BFF85; Tue, 25 Apr 2017 13:37:50 -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, 25 Apr 2017 13:37:48 -0700 X-AuditID: 0ac94369-548749800000728b-db-58ffb39e219f Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 2A.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 06/10] blk-mq: Move the "state" debugfs attribute one level down Date: Tue, 25 Apr 2017 13:37:41 -0700 Message-ID: <20170425203745.19946-7-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+NgFtrLLMWRmVeSWpSXmKPExsXCddJ5ke68zf8jDBa/17VYfbefzWLvLW0H Jo/LZ0s9Pm+SC2CK4rJJSc3JLEst0rdL4MrYdkOyYBl3xetlnWwNjNs4uxg5OSQETCSmbF3D 3sXIxSEksJRJ4kPHI2YIZxujRNvbuWxdjBxgVXNfhULENzNK/N96kwmkm03ASOLb+5ksILaI gIJEz++VbCA2s0CgxLLJH5hBeoUFgiX2LK8DCbMIqErM29MK1sorYC9xft9fJogj5CXObtnJ DGJzCjhIrLjSDRYXAqrp2rmLFaLmOYvElb5wiF5BiZMzn7BArJKQOPjiBTNEvbrEySXzmSYw Cs1CUjYLSdkCRqZVjGK5mTnFuempBYamesWJeSmZxdl6yfm5mxghgZq5g/HuE+9DjAIcjEo8 vAEe/yOEWBPLiitzDzFKcDArifBeXAIU4k1JrKxKLcqPLyrNSS0+xCjNwaIkzntOZmqEkEB6 YklqdmpqQWoRTJaJg1OqgbEojavx8q4zv5JKWXd1nDRgvvyXp+/HxTdfHlqdONnd0MYtcFf/ pGAs04HL5+wP/J0geOtXnPOim0+Vb3BfOTX9ctvBw+Zf3JOXlIfvfOVcE5Jcxsjvxmj9/obJ jh7zOyenSPqs1baYeHkBZ/bnkLk+tx1tflU1b9kX/L1Ttftu2lGR/rPymw4psRRnJBpqMRcV JwIAOZh9U1ACAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkuLIzCtJLcpLzFFi42Lh2siRojtn8/8Ig7d7tC1W3+1nszj4s43R Yu8tbQdmj8tnSz2mrTnP5PF5k1wAcxSXTUpqTmZZapG+XQJXxrYbkgXLuCteL+tka2DcxtnF yMEhIWAiMfdVaBcjF4eQwEZGidcbO9i6GDk52ASMJL69n8kCYosIKEj0/F4JFmcW8JfYv/Af C0ivsECwxJ7ldSBhFgFViXl7WplAbF4Be4kbe+Yzg9gSAvISZ7fsBLM5BRwkVlzpBqsRAqrp 2rmLdQIj9wJGhlWMYrmZOcW56ZkFhkZ6xYl5KZnF2XrJ+bmbGMEe5ozawXh9ovkhRiYOTqkG RlfVgEO8fZsfW138f/pAVO6VuJ8KMzZfd/C2vfvA0XGWVcnKXx/bzz7irf1zOO771KxftblR UxS2CPxb7nfh7xwnUYtTkkWPw78wxhRXbazNlTgqFLgxfMf2jQmPmpn+lfpuTGJ6I1295lvy jQyZQLly2S/OdXNuNB58Y3TS6DDLjM+Mfx8fzlViKc5INNRiLipOBACur2dkoAEAAA== 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)(39450400003)(39860400002)(39850400002)(39840400002)(39400400002)(39410400002)(2980300002)(438002)(199003)(189002)(9170700003)(305945005)(5660300001)(107886003)(189998001)(47776003)(6666003)(36756003)(6916009)(2950100002)(1076002)(38730400002)(356003)(76176999)(86362001)(2906002)(4326008)(50466002)(50986999)(110136004)(48376002)(77096006)(106466001)(50226002)(5003940100001)(54906002)(8676002)(8936002)(33646002)(81166006)(53936002); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR04MB891; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT023; 1:jn1dhsu5TLx/pDwULVJq/ij37i6CPn5LUZjJgeUWurMUz+OPDbzIAqp/AfEg6OEVUs0ZdZee7UxEJquNmWZIE6YIuk389kYqW2TzSK4yhvkF38hRybdi9rLwaVihAInaBMPZS7cGYb0G0nsHsc6DI3GaY5Ba4Uwq22OQVZWudCeNN/DmTk12Qmmf2+hGDqo2EbE+dWOkZakBaiY5d9JVYeJtlxMX36qPGAudsaDTiJOS5aSnqS6F/Ufi1UafdkgaPsefVnkyzYGpvisG4+Dq3+9HOQrsctBYHylkQ1hCqIOViXVS120TVMss4uzf1MUNybYm7ny0aZpbQbqxt4atdUFKHXKSvsT2uwwJM4kC2CVOsMLZ0/+yslijqK5M4BgfCgAFitLYVhtbo7H5QukXTbMiTM2fSop0uQo4F1H8yL+asm6hgPx5rEpj8H12zg+CiyniKeL6CrUY13fwUcsVyr94PenZ/kb1Mh1YsOzFvyeDe9/AqnYMNveD+1JrchUy X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cedc3619-3c9e-4dc5-b389-08d48c1af223 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CO2PR04MB891; X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB891; 3:UfNSl2eIr07x+QU5u58xwg4Gu+BtuZ7337rXWLvp+CytdW6as9MGQT8RPKp60IUIcNJ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D9FRjjkveyuMFAPwjE8F+f6tq+mUHL4CsnXeA6e9ZqioYTKdiC0cBjno6NoHo/yjQnLgc7kJgzv7kj7BI9o9eXCMw8rml8eqApcc8++vVIQzNeuc4WV2cw8o1q5JRLO353mkg7hcNr3a55PY8pwPsFLQntiDo/FsbiA== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB891; 20:M2j2MBYcLLIuD+MfeRBHwuNwtsd1+lwMu2GTlvM08usUG+knB2BdG0qZcfBSB2mgnzBgLkIIRVtLLyuAwwr+p9Imqd7cgm4l4HgDsR6Skb02JSHaMyrn7WCTOKRNTtufJaLMSWJxvFlaq4aGqVHhwf093kEcu8RoN8SjnDW23sPcrbtAa8Lr7bU5XrFgVym2BoTE1U37S7xATWJP3ID8xpKrCn09ua8EfvZvom8gGCfc7UJeiWCq01az7XYTQCcZSpAf9wZN+R8lRkDbK46UKfD4+3bABqskBKD9jXnQQIQ4nU4bfAAiufzbvLYFpzbBQoqLR4a2itZ/hMZJcboKFTy0+D/p6ctaXH7Ls6/o+wixKo7F0T/jXNzhCWPQFUJOf2E/8Tp6O00q2EYLFzEzEEwhWSaj8iBfsueluz+0i3L2YdVWakTXym2DES6ZaQorAj9zLBjspkKAeszPX07xOXuHoNQrmgkKDIt/j+TAMEwyMIjWwRfMuN3CbMXNsoFk 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)(13018025)(8121501046)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123555025)(6072148); SRVR:CO2PR04MB891; BCL:0; PCL:0; RULEID:; SRVR:CO2PR04MB891; X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB891; 4:SEaa/x+gKJIOCKYfe8igRVTuiQOuE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3ZfHTYXYTW5U604tIeOHPe+oFp/LYjv1sWhT9C8eEtcRPsiZuYw?= =?us-ascii?Q?py95I=3D?= X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB891; 6:98TodfgeRPS4jeOb60LZeN3re6isyw3spOlRcnVHv28vF7BUcfGb2n/WqLHcnc3kHIqjKpIfu6wLBbKPPP99puV63wJgn3VlM7yc5pSyx71siy6U9OWxQn3C5LXu0jb+9AFkcGw1Fp7In62d4nm9hYVSbuUoPDmbWHNTc7ginAyNc3NUF+86C/87MNd61htkoknDogEjk1Rk13CQTc6tAUuSaxNXqUzFSskU17BYCHbkgnNT/DhYLo8EcEHFXnRX0uHDf/3g7kbplgm/Mz4PONdZ9QRozdGoc1d02MNUhrH+RI3GL2cx0yRFpHZbAQQrabVjHsUmS/zCDYqYRLXNK97+WpMrdI4fgUqMVWZCeUUgtDyKnhFvH6O2UmmkHxhT7jc2LzS8rIzJVYfpLG1RfP0ahRHp1Fptz1mLpoOTak6DTl9MWS1z4re8EPeoWy8KNuz98ov7zpx7dpFEibOJE2J9EnwncJg4MJhmdHQ5MOfnKU50OnlOCOmreUTcERB2JLsSWq3LZpxi3qeMvOLN23RxX7JfvYhA99U5tN5/oM8=; 5:KQ8f9S3Q1BPpPHbeqoigFXtrScQeOVhOcFr7KrgPmqXa6NVDSpWtOOwI0bpTxc8QfWhQHZ5lw1qJR0U37gNhzbI1BWlEWENRyzSLjowpqJAKFCHJ1pZJCihEWfVcI5x9f/DTBbT5EmEIOl8y83eF2w==; 24:qdHJ8rfLslIefG4kRkrztSyYlu+A/dITdvkzODPtMON5VMvlhStB7IYSto4qsNH0trLr9KysBPQFsiAhbMGKLpLRVZZutjxg8DEBGhm3vLc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB891; 7:GbAIS7rieiDihz6D/PjtjxFEA3PVnrNMIgPnu6PGQvxlyR9jgPmo7JQVjC9MfoYKK/LsEU47riAv432W3f7jN8IAAzbGNVH2ZVfyVLLA3ySkezJRbBhrX2C7Ao2DhFo/lftI3Tk/Rom0axwGshCtr0Is0dk/pQYlDGo8cHAJWkrbV06NzYldC0C+Bx0v4j1Hxoiz5pigCaGFZLC1oEBOq92jvOo81CKk9VFFbH9Ijjv5s8sO2+P7J7IdVDSwNtveJYH01KCQxZ9UgOOoVBrMbnRoftY0rWIdkXnJfE0CVSrv9tGe2GE2wQk4jQkMTbKlDdILPRuZ/1XElPQ8Hcq5/A==; 20:rkE51K0sHXRf0ktKH/UxEfQVeEf1pfqez05Yt/p34Om4ZOrGN3T3b3wxu1c1u0y+fu7ttzH/avoE8AucFX33JVYnzgOhvtSZqMb48+PjleHe0mN7JAon5TofYkz4nnsYgmJ3vYqMBtD5GfPBfqQwPAP3DmyZtgeBhQEM0MSQSoQ= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2017 20:37:52.3984 (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: CO2PR04MB891 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 Reviewed-by: Omar Sandoval Reviewed-by: Hannes Reinecke --- 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 d99064e9e76a..1132be4e9c1c 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) { @@ -757,6 +752,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}, {}, }; @@ -873,9 +869,6 @@ int blk_mq_debugfs_register_mq(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;