From patchwork Fri Apr 21 23:40:22 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: 9693975 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 BFD696038E for ; 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 B0FD828681 for ; Fri, 21 Apr 2017 23:42:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5E762868A; 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 6B61D28681 for ; Fri, 21 Apr 2017 23:42:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426050AbdDUXl5 (ORCPT ); Fri, 21 Apr 2017 19:41:57 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:21369 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426053AbdDUXkj (ORCPT ); Fri, 21 Apr 2017 19:40:39 -0400 X-IronPort-AV: E=Sophos;i="5.37,231,1488816000"; d="scan'208";a="12906120" Received: from mail-cys01nam02lp0050.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([207.46.163.50]) by ob1.hgst.iphmx.com with ESMTP; 22 Apr 2017 07:40:38 +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=446bPFVA3noJ6mMDr3dL7rHSHOtSDtRORB/fbeEVoWg=; b=nE0xswRusDyFZ+w1ZJo3dCvXLI5wJA0A1slZlEo+pAejrbzD6L1V/8bndyAS2NhPb/LYoXymdW+xhenVmSho7hUqqHHUTIA8YOo9MmByG/xwfAmCXg35ces7BXRQi0jXzYUBPH9mjVnkIAJzJ6toMEioi3SVZxPywxkjfA28IKs= Received: from CO2PR04CA018.namprd04.prod.outlook.com (10.141.240.146) by BLUPR04MB881.namprd04.prod.outlook.com (10.141.203.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Fri, 21 Apr 2017 23:40:35 +0000 Received: from SN1NAM04FT014.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::207) by CO2PR04CA018.outlook.office365.com (2a01:111:e400:1428::18) 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:34 +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 SN1NAM04FT014.mail.protection.outlook.com (10.152.88.112) 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:33 +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 0C.22.29323.1789AF85; Fri, 21 Apr 2017 16:40:33 -0700 (PDT) Received: from milsmgip12.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; Fri, 21 Apr 2017 16:40:30 -0700 X-AuditID: 0ac94369-548749800000728b-bb-58fa987182a0 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 33.66.18148.E689AF85; Fri, 21 Apr 2017 16:40:30 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Bart Van Assche , Hannes Reinecke Subject: [PATCH v4 06/10] blk-mq: Move the "state" debugfs attribute one level down Date: Fri, 21 Apr 2017 16:40:22 -0700 Message-ID: <20170421234026.18970-7-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+NgFjrFLMWRmVeSWpSXmKPExsXCddJ5kW7hjF8RBnueiVisvtvPZrHgzV42 i723tB2YPS6fLfVYv+Uqi8fnTXIBzFFcNimpOZllqUX6dglcGTv7vzEVzOWuWD9zN1sD41rO LkZODgkBE4nr/Z2MXYxcHEICS5kkJp7/DeXsYJT49GULM0zV9kXLmUBsIYHNjBJzDwmD2GwC RhLf3s9kAbFFBBQken6vZAOxmQWKJK4dbwPrFRYIlrh3/wFYDYuAqsTlvRfA5vAK2Ev8OfwZ ar68xNktO8FsTgEHieXtR5khdtlLXOvuAztIQuAbi8SezZNYIJoFJU7OfMICsUxC4uCLF1AN 6hInl8xnmsAoNAtJ2SwkZQsYmVYxiuVm5hTnpqcWGJrqFSfmpWQWZ+sl5+duYoSEcOYOxrtP vA8xCnAwKvHwrmD5FSHEmlhWXJl7iFGCg1lJhPf4NKAQb0piZVVqUX58UWlOavEhRmkOFiVx 3nMyUyOEBNITS1KzU1MLUotgskwcnFINjCuybSxZ/l0IeVZu237uyoSLqr8FnS4l35N6sIRt zutvVwxYb52bdYV34db8G8lfl6tM/DEnR4Bz4yn74Dnh+osPiZ14ljfbb4W//0IOQY7DQa6l vWWHVQ+EG08SSlVrnMq59N8DiSecu3TXHt92T7zmHx/f3Ul9y7yZY89MUb371maqptbOmH1K LMUZiYZazEXFiQBGW6DfXQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFJMWRmVeSWpSXmKPExsXCtZEjRTdvxq8Ig4OHGC1W3+1nszj4s43R YsGbvWwWe29pO7B4XD5b6jFtzXkmj/VbrrJ4fN4kF8ASxWWTkpqTWZZapG+XwJWxs/8bU8Fc 7or1M3ezNTCu5exi5OSQEDCR2L5oOVMXIxeHkMBGRolDez+wgyTYBIwkvr2fyQJiiwgoSPT8 XskGYjMLFEl827UaLC4sECxx7/4DMJtFQFXi8t4LTCA2r4C9xLst81ghFshLnN2ykxnE5hRw kFjefhTMFgKqudbdxziBkXsBI8MqRrHczJzi3PTMAkMjveLEvJTM4my95PzcTYxg33NG7WC8 PtH8ECMTB6dUAyPbS607F+ZdtRcK3N6Uuk/I6vnrgHzGlVePsa1Yc6Xo0Cr9Df/nlz81dZ3w jaGd513Q3LY53xdd3i+6R/3Ko+SzO858bq/Xe/mwZIFdrV7/K+VNq9Zt8jZr8OJt/JmQornn 8CfLkx+nakxdM+fmRpuML3me69/ct6tUVTOT/FC8Nnf9/6TXDgftlViKMxINtZiLihMBZx3E m60BAAA= 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)(39860400002)(39450400003)(39850400002)(39840400002)(39400400002)(39410400002)(2980300002)(438002)(189002)(199003)(9170700003)(305945005)(189998001)(106466001)(2950100002)(6916009)(50466002)(6666003)(1076002)(48376002)(2906002)(47776003)(5003940100001)(50986999)(36756003)(76176999)(38730400002)(110136004)(4326008)(5660300001)(8936002)(50226002)(81166006)(53936002)(77096006)(356003)(33646002)(86362001)(54906002)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR04MB881; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT014; 1:TW5OVuqtxkqrdsddVuRwkKV6zaN4+uhG0kPY6gMJ3XosRGJfVTQuu+9nba6GvztWDfB7k178iMy0SoGb9dlBetD0XEW3cbLyI4TBgtSepnftUNnAoYB57EXNqMgBeTrCM2GgrbNd7XdoukhypZTQIg7baEgU7TlRotV+tgdy/j6TRgoYO0qJF9SuTD1canv2ZiprjelQmIU9JxyHZ+dw7jNDI760KO9mdcjBqS7rstHb4ftHdBmICiaZXMafZkOpeiVxVCvP9PU0zuUOxrmUGeH5E6rF201tAjjFbonVkR3Sg5Xq32RXCi5jq27hPiblA3/8hsLPIFV87PrwbIdL7SOSfXebpaaUvuc4r7DOn+RArmIq8sAKOtogA7Cpp+hCIL3625WDRHrsii7Iy1fvlX36qJ9q6GCMms/7D5FhNbY+3Mft7jf8ICbz/9lanokcTtrSegdkDx+UEhOIkJd87Tj/26L1nvQDz5H3RQyvlHiHcPT9wgPKanEK6EJ2TwOx X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3b6a4a8f-7eb7-4372-1dc2-08d4890fce32 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BLUPR04MB881; X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB881; 3:y0Thf1nlzpGuNZDgNlC/+7KPxbfE1k3RfAbfodv0RGS969y95VSmfdcrWd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NbA0L/7+hYB1yCur0237h7XsNFkJENPmq90g12Tji7gWGpwv3c1ERn8rjrH1mq8HewF4Iwvp9CkqYnVu8XDh5g29Yw0CbHvJURICL2GdlNUh6BYhPgCjjo2XnWMrlxMdDtOnrQnGEFdiL4D+dC7z6Uzw1eCwKt/Q9MuDE1+CjCnF5wshsFqsIRA== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB881; 20:LtBNN0lt9PbvRFfIWE1wD6XN5ggVJH1Y0Z27eDP4jw/DvOeLm/5xu9sjDtW1bhOBWWqgyoWOtcThlCLr4zHqPT6OzpYNfdqdfazKh2lEmmv8lwrIhWVOyeMydK3sxWP8GlkGt801mN/bUSmixjDRK6gzdFC1slA1YySFoH8I6L8Tw2yb2NnodcYm43Ig0+aLtmBpQ0AFa9+ebrLEjyCK6eVEe1VW/d76D3XTyG6Oi8b4IAKNnPFZOxdow3zgsGQ+vW9iyvHfMXiNTCIhx4l+0a/NcONyp/JzQC4MNX23ygFHyBkCoE0LS5HkeKILdP/8tGTrHmFpwQI32kmHf912DS5XIM8FJEOv8Wgy2ymiec2/CCCfdEoieZ03kbcjkRwS+nI57gwZ+kR2gl/4vJfp1Wbc2bxM9C1WrXTqDhutK2Aiwj4FR+2bZYJdlc2yLfxIyQkRmfw8Bh1foc+XM/74Y8k8/akONDEykLimQepddOv8ajue/0klgMw3Q97Haovv 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)(8121501046)(13018025)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123562025)(6072148); SRVR:BLUPR04MB881; BCL:0; PCL:0; RULEID:; SRVR:BLUPR04MB881; X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB881; 4:v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ghMxe11BkT2FLxGlAkfsTof2kqz3UDpBhuAglXGtsQvNdghBczibNNyTY61QiSt3HcoG9L+dAZaUi9pH+K23srWLL4jVc/U8HzlrlESKmj/5FXkeM1pxD8SvAEhJvTP4HMcbQYtmMoBpFF730kGxWoNxRwdxldVfeiERVQC7Ls+iFpSX8uKVfkBwajRt4jD66xeorBP2k3KB6j60FomwZ/y/oVe1gvnf0LXq8iVBhxMty5nANRnkWKIsXNd2rScavN9qDqb4avxF0P11bX5dhgx/e25/w0LHNmGEEouVfY5PDuQ==; 20:0nrwoivtOpoDbH3BVW9ixCcEYMWJp/8OK/bWGB8CIzTAXtq6dDBPaWBbTOTrSgrOpT1S6E4D7ngDlA74KcBgjPbNVwHqlFU5Vpp4A34bu4Hh7yhAgND+R7WnWt3g8eup9Ipnjvp6QXeUixWQex41zNKBAuC8cpzuxYKatvSiSKU= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2017 23:40:33.9706 (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: BLUPR04MB881 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 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;