From patchwork Mon Apr 17 16:56:47 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: 9683957 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 8D875600F6 for ; Mon, 17 Apr 2017 16:57:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BD8A1FE84 for ; Mon, 17 Apr 2017 16:57:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D04C1FFD7; Mon, 17 Apr 2017 16:57:06 +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 9F25C1FE84 for ; Mon, 17 Apr 2017 16:57:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755825AbdDQQ5E (ORCPT ); Mon, 17 Apr 2017 12:57:04 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:30484 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754332AbdDQQ5C (ORCPT ); Mon, 17 Apr 2017 12:57:02 -0400 X-IronPort-AV: E=Sophos;i="5.37,215,1488816000"; d="scan'208";a="11126367" Received: from mail-co1nam03lp0017.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.17]) by ob1.hgst.iphmx.com with ESMTP; 18 Apr 2017 00:57: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=bmaLWCXjR30Hp/F6vhc7UOFobkm80rpPyvD/lQZ0Wsx5ryGgTjowTrkGpq0RGQKKO/IUbBmrmY0xQqtLXyrDEgMIuwtbjAxA+Har1iE+8+fThGPcuC9SQDU+WtCWJ9HHEha+a34vqwM40unAeUJEP4uniRjcSnvb/8w0TGRSC6g= Received: from BLUPR0401CA0016.namprd04.prod.outlook.com (10.162.114.154) by BN3PR04MB2227.namprd04.prod.outlook.com (10.166.75.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Mon, 17 Apr 2017 16:56:59 +0000 Received: from CO1NAM04FT023.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::207) by BLUPR0401CA0016.outlook.office365.com (2a01:111:e400:525a::26) 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; Mon, 17 Apr 2017 16:56:59 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; 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 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.1019.14 via Frontend Transport; Mon, 17 Apr 2017 16:56:58 +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 F1.4E.19026.9D3F4F85; Mon, 17 Apr 2017 09:56:57 -0700 (PDT) Received: from milsmgip11.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; Mon, 17 Apr 2017 09:56:54 -0700 X-AuditID: 0ac94371-41ba798000004a52-eb-58f4f3d9d0c4 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 31.D9.11415.6D3F4F85; Mon, 17 Apr 2017 09:56:54 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Bart Van Assche , Hannes Reinecke Subject: [PATCH v2 4/8] blk-mq: Move the "state" debugfs attribute one level down Date: Mon, 17 Apr 2017 09:56:47 -0700 Message-ID: <20170417165651.12693-5-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170417165651.12693-1-bart.vanassche@sandisk.com> References: <20170417165651.12693-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsXCddJ5ke7Nz18iDHq/yVisvtvPZrHgzV42 i723tB2YPS6fLfVYv+Uqi8fnTXIBzFFcNimpOZllqUX6dglcGXc23WcuWMBdsWfyXqYGxg2c XYycHBICJhKTrx1nB7GFBJYySdz7HN3FyAVkb2OU+DFlHRNMUcOCXUwQiY2MEg9/PwbrYBMw kvj2fiYLiC0ioCDR83slG4jNLFAkce14GzOILSwQKPHn+zQwm0VAVaLj2xlWEJtXwF5i45PD UAvkJc5u2QlWwyngINFwvp0V4iJ7iXVLn7OBLJYQ+MQicWnPeqhmQYmTM5+wQCyTkDj44gUz RIO6xMkl85kmMArNQlI2C0nZAkamVYxiuZk5xbnpqQWGJnrFiXkpmcXZesn5uZsYISFcuIPx 9W3vQ4wCHIxKPLwMB79ECLEmlhVX5h5ilOBgVhLhPfoEKMSbklhZlVqUH19UmpNafIhRmoNF SZw3S3ZqhJBAemJJanZqakFqEUyWiYNTqoGRL+dLk81kBqWJGr7bw1adKLqgart8Ch/PQ3sG +Uu+LKo/FB5fcT3Sy8iTptjG/puNyfnQqa6nZ70nyyyZ8TuoYot9SMZE/7PBV+6GZGyouujI G7VstqPYzp/f9XVdtU+4bQu0Dk9/Ebem6tzrXdvWxMmw72a4fvqGh1jX55pHxi+2MLVNN5FS YinOSDTUYi4qTgQAceWzm10CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFJMWRmVeSWpSXmKPExsXCtZGTTffa5y8RBvd+KlqsvtvPZnHwZxuj xYI3e9ks9t7SdmDxuHy21GPamvNMHuu3XGXx+LxJLoAlissmJTUnsyy1SN8ugSvjzqb7zAUL uCv2TN7L1MC4gbOLkZNDQsBEomHBLqYuRi4OIYH1jBKN60+zgiTYBIwkvr2fyQJiiwgoSPT8 XskGYjMLFEl827UaLC4sECjx5/s0ZhCbRUBVouPbGbBeXgF7iS1H+lkgFshLnN2yE6yGU8BB ouF8O1iNEFDNuqXP2SYwci9gZFjFKJabmVOcm55ZYGioV5yYl5JZnK2XnJ+7iRHi+8gdjE8n mh9iZOLglGpgnHXdQ/nG/XtPNQymffRy9nWd18NjN7WcW7Zsj7PP04vhp995OTf+XD2717pD QDIuP3dRxTaHXYmvJh7N/RccO7dj3ZbPuxet8l2zg63cR+NuCQfL9v+aWyzYcz1e7j/auG5P 0Bqfxws2Vh35nTX7pf/ilYVVWw02l5zcK9VxqJS1aFqsVrPMBCWW4oxEQy3mouJEAGBseM6t AQAA MIME-Version: 1.0 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)(39450400003)(39400400002)(39860400002)(39840400002)(39850400002)(2980300002)(438002)(199003)(189002)(9170700003)(50226002)(86362001)(76176999)(6916009)(8676002)(33646002)(1076002)(106466001)(77096006)(54906002)(81166006)(6666003)(50986999)(2950100002)(4326008)(2906002)(5660300001)(50466002)(305945005)(8936002)(189998001)(48376002)(110136004)(53936002)(38730400002)(36756003)(47776003)(356003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR04MB2227; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT023; 1:umNwUfPUD9JabZ4S541fOgwlhzenUto9cjrZ19pKvue4doG9jEWMulbXOQliyNiChI8NSfrsQ/VrTG3JMAX6AFpqHxwojFUPVUtDIsivkxFxqkfQgZ+baizMFB6AIcgHJpHIbMuyG51azdgrpGRV321nxsnREs3kXGxom9GJZFaFg45u0PgWtVS4eZm2jwd5hgwuv5AnQWaA1w7oAGzXwCj8d93+dYgB9cAWKZocPUbdWKTmbc8is4lXwxFByUp0/tM5Flu7n0vhWrZrrhiI3wvLOnesDuztjYiRRq1cqBxEnkXLtkJ++yBLPlG4GGCZyWJTI0lUwJ3DzSRSDrVafs9akEJbw+KIUvL2/oTUgxRyprJpx9JUw1DczFhrGvQcsr9AS4tyc8TT2w+CyYM8641ecAhA5z3CtR8dNJav36luLe5lyc2dKDJifR9EbA4iV29TkCzCVl+FgKG+T4Bg0Z4VjTaNud0H8jmwG68jqEbqOXxy53oFuxpqLYxRPpr1beyPFVdY4d4zNGuPvHqIjhFW9v0F0g3PyHGG4CQ7Qc8= X-MS-Office365-Filtering-Correlation-Id: 49cbf1db-9080-49bb-4973-08d485b2c307 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BN3PR04MB2227; X-Microsoft-Exchange-Diagnostics: 1; BN3PR04MB2227; 3:9zA64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MaP+roubamSdBLSF57pN0PrGkqGWoSsjQ5LXoYAEggMUFvwL4poGl45NOe693JEHhM5OhsVt4EEpmX84Z2YuD8nUf3deJMj2GTpJC+65n+lOHFmomm4oHYefUqfId/UqKakeXP+nzj7X4yK8djV36PxIi6mGJp40kfuGurWBDj44NQLIQoWtFlr17ZQMUtN48cWHDW709ii7bQVCPbRVjph7HkMBmwE4vWHbxHg== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BN3PR04MB2227; 20:EhxsdkoIG/V6+nTqNtgLD7Wa5GDFFI3ckRCWmq/ghMtvQ1O3+5IhX5Xfbocc96eJX1KG4jvkKRhCTo2Jb1OiOTRyhAUEwcW9J+TPnUkQWz4flyqRGwr5w8Wmonm9YrM9C3vcXgRZxyPvQmGCHbWjbvs/feioA1i0RQ5gzH6AKf+/2TN1kD60+nMCfiyL1eGFhyadkWOsCJDE72p8sTX7GNUG5fZjMXwKwldkNThFoYy+3P9cnxWfeh0tLK2ob9DZqoCnzSj75Ly5QAtqNl42aujqvP1EyRUWC2YpC/vHAMQeNYiK9CUny7PZF6d28fyewgp5yovu85y6mwf9gITWu/j4QqpG3BEiuml5H3o/Wf7/tylNMDg+buSjQxdaFAlZP/xBKt/ywP926E0uuOc/2YLYn6mqprF+jztr1mvE/3/pnPjJyxYWpjjrM3sA8Ze7ay/cDxIfjTssBmiXf/ITS1ovlaxkCHwondk7dbUQ5/5XfrF6nQp43CpFCOFqxGCv 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)(13018025)(13016025)(5005006)(8121501046)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123560025)(6072148); SRVR:BN3PR04MB2227; BCL:0; PCL:0; RULEID:; SRVR:BN3PR04MB2227; X-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UJSpdtzIV0ZwKeWaFzcIQgu0DohCK9mL7tQtrE5MZ6ogxMOxZ921obe9bAZJb91DBraNIuUhfKtgANb7qoy1By8OwQRJMIOHTV3i544rxPLqLpXY9FztufM3T7ejZFlNo4fYkxaZ7Vlp2kTthTUBNLLvbVocQ04czLyss9NKT7dBAfj5d5xI+HFYCrv0QG2FZDBFLflpTpSltpQidVbXvVNRRni83MlTnspuLnBnDTOA==; 20:XwUFKh4sftuSkzh3G8WFHUcmes1pKd6uJUdwFma2S5Zg9+S3Wg8AHSSGfg3yfgTp0qLI2Yyx0/Tofq/wEMQ6Puvqi5hdnjFjlKLZRvixRJ8M03hV01d+m8PrsxPtPZf/7RqAqukxHSCe5dq5aRmHBSn42FdfRR5qa1JJdND75SE= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2017 16:56:58.6602 (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: BN3PR04MB2227 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 Cc: 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 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;