Message ID | 20170426204757.18910-7-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 3BA216032C for <patchwork-linux-block@patchwork.kernel.org>; Wed, 26 Apr 2017 20:48:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C68728619 for <patchwork-linux-block@patchwork.kernel.org>; Wed, 26 Apr 2017 20:48:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FA9C28638; Wed, 26 Apr 2017 20:48:16 +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 B05D428619 for <patchwork-linux-block@patchwork.kernel.org>; Wed, 26 Apr 2017 20:48:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937083AbdDZUsP (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Wed, 26 Apr 2017 16:48:15 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:63605 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937357AbdDZUsL (ORCPT <rfc822;linux-block@vger.kernel.org>); Wed, 26 Apr 2017 16:48:11 -0400 X-IronPort-AV: E=Sophos;i="5.37,255,1488816000"; d="scan'208";a="13382766" Received: from mail-cys01nam02lp0055.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([207.46.163.55]) by ob1.hgst.iphmx.com with ESMTP; 27 Apr 2017 04:48:09 +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=A7un68YJ3YexyCl3O826Hpo3gvLIJQxsXnCQ9PJqMlhP014WV4m/mEz6HDbe/YJg4Uxjsngl8F+UbjywxKN8sfd5hcYh724Gwt821/KRdPS5DIiMZCVKLUTpN52aHtfiHv2RtCS0hdShHax6ss8yLwZ2xzzMz1lIzU6sn/O4a1Q= Received: from CY4PR04CA0041.namprd04.prod.outlook.com (10.172.133.27) by BLUPR04MB884.namprd04.prod.outlook.com (10.141.204.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Wed, 26 Apr 2017 20:48:07 +0000 Received: from CO1NAM04FT028.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::204) by CY4PR04CA0041.outlook.office365.com (2603:10b6:903:c6::27) 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; Wed, 26 Apr 2017 20:48:07 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) 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.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 CO1NAM04FT028.mail.protection.outlook.com (10.152.90.87) 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; Wed, 26 Apr 2017 20:48:06 +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 7A.F0.19026.58701095; Wed, 26 Apr 2017 13:48:05 -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; Wed, 26 Apr 2017 13:48:01 -0700 X-AuditID: 0ac94371-41ba798000004a52-b8-59010785bfd6 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id B5.F9.11415.18701095; Wed, 26 Apr 2017 13:48:01 -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> Subject: [PATCH v6 06/10] blk-mq: Move the "state" debugfs attribute one level down Date: Wed, 26 Apr 2017 13:47:53 -0700 Message-ID: <20170426204757.18910-7-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170426204757.18910-1-bart.vanassche@sandisk.com> References: <20170426204757.18910-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNLMWRmVeSWpSXmKPExsXCddJ5kW4rO2OkwdwPKhar7/azWey9pe3A 5HH5bKnH501yAUxRXDYpqTmZZalF+nYJXBnbbkgWLOOueL2sk62BcRtnFyMnh4SAicT6HdvZ uxi5OIQEljJJtK26ygySEBLYxihxdXMETNGraz+hijYySiy6M58dJMEmYCTx7f1MFhBbREBB ouf3SjYQm1kgUGLZ5A9Agzg4hAWCJVY+yQMJswioSpy5e50NJMwrYC/xcSHUDfISZ7fsBFvL KeAgcXnvY7BOIaCSqyekIUoes0js26EFYvMKCEqcnPmEBWKRhMTBFy+gLlaXOLlkPtMERqFZ SMpmISlbwMi0ilEsNzOnODc9tcDQRK84MS8lszhbLzk/dxMjJEgLdzC+vu19iFGAg1GJh9dh I0OkEGtiWXFl7iFGCQ5mJRFejZdAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rxZslMjhATSE0tS s1NTC1KLYLJMHJxSDYzJk2LDLqZqSJjVL3n6L1ln/aGHM5IYy6a4XZMyZqnN2sr+++JzgfPL /7VH/F90946F05aXX3Uzfh9sFTAT8X/5qLf5waKTwnteVj1OOC115cKVP7urA/4quD+fkSnt 4X2K2UQ1Yecieec5R80jr80vOXho4q/edZE/v675smEXt4zeVTEp+zX5SizFGYmGWsxFxYkA DuEJUk4CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkuLIzCtJLcpLzFFi42Lh2sjJptvIzhhp8HKalMXqu/1sFgd/tjFa 7L2l7cDscflsqce0NeeZPD5vkgtgjuKySUnNySxLLdK3S+DK2HZDsmAZd8XrZZ1sDYzbOLsY OTkkBEwkXl37yd7FyMUhJLCeUWJx+0kWkASbgJHEt/czwWwRAQWJnt8r2UBsZgF/if0L/wHF OTiEBYIlVj7JAwmzCKhKnLl7nQ0kzCtgLzHztjXEeHmJs1t2MoPYnAIOEpf3PmYGKRECKrl6 QnoCI/cCRoZVjGK5mTnFuemZBYaGesWJeSmZxdl6yfm5mxgh/o3cwfh0ovkhRiYOTqkGRvV1 O29KlNku+cYl02H7LnfhwqUuX57wNxyuPjWjOqfx49K/l8XFN+1K8s5zvh725PA5+/XCz184 /VNPU4x9wSjzmtsgbP6aS1lrrTfyx8R2PHqY3hSx5v434drJ9b3zLk+vCD4w2UU476HDp5X+ +zQnX3yrM+dwyJIWicTL4u+WJTD5d26zeaTEUpyRaKjFXFScCADqfzjHnwEAAA== 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.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39850400002)(39860400002)(39840400002)(39400400002)(39450400003)(39410400002)(2980300002)(438002)(189002)(199003)(9170700003)(110136004)(38730400002)(107886003)(53936002)(305945005)(50986999)(76176999)(50466002)(1076002)(4326008)(47776003)(77096006)(54906002)(189998001)(36756003)(2906002)(356003)(2950100002)(6916009)(5660300001)(8936002)(50226002)(81166006)(5003940100001)(6666003)(86362001)(33646002)(106466001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR04MB884; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT028; 1:gocExaryXkrapJiV3S6Vcb7au8xM2xqa3ZjegWDfk2qhBt3xJMo5YMMMYPg2s+IJT8Kuw8j5LakdiiLStKSFisCMUxCfIDYuSPNWyHw4EOKmpQ/ZnbZl9qP82AXB17PhKr3EDs7387uIo+qSKOSHj+E1qln3EgpgmG2RTbr5pG/699niKQPB35KlHS+PCumzguKDtpY7+vBlLtHGyd1Gp9tkYDVjy3lxNNPpjPA4+tMGjt8oMVJJpYmZsfJ4vKwgt+e5axfU9z/gsN1tua9TBppLjDjr3HnlyKex0YSBzzxQ4AW89NMbdTlbqkN7wA3DJ1aRmHdSsMZhe5lq0YPLMfK05+uurYi7Zn2cxNhIu5JbZOzLiuta5CT5WwRVj+OWS3eR7UgXeysLm7551Jywgg1DLar9RL/+ZVnRC0lxxwhPWqiuj5/FWuSmtQ+y/g61a0ZIQfOFY46K8NBlo7zheudvu3nqqBeyT7J3evuyHiyWrQ68ni+XAaqNVdfqmT3J X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3a76a99c-7739-47a3-5067-08d48ce58ad1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549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s5YhW5L5NQTncA==; 31:VJtYlMm3JmZ0kr8rW3eZXvzWVg4BgTsPZGFP/9vlUfshTKoBa+8VCUiQQGl8fpYtY6h9ruoBb2y0wkh46UJ0LKk6K949HkbMFJ0dYeeCMNAFWsmV7U/W4AP/CUhRznYXum4yLiILpJXgz32KXFeqSvNL5BC5KHNOid2GlmJ6MIY4ZRWJBGgCqHIKpiVE+/9R/3u+4NM6nKStetiMp/AFpUM3JiA7J4I59AU46x+nl+zhRwJMeAbiOAKYUjkbVnSQ/I58SFSG03rFPoHi3cnIaw== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB884; 20:eqc6PtaCwgOZGycvoFpyRa4q7jmn5PjglA7lUzjSBGSHQtHDefRiXHfxx0dGS3V7+rcioNfbd5oSdf1DmMXnc8N3CpJT8kxvbuv3EaghzWbjUPKSddf8bGRywCxfoPajeDLvxNkxyYX9trRF/x4pIr8lTQi3tp0vVhTvc619zQFh/fOG2g5TNKb+r+8Jj19tUIZjXuMkZvsGGnZPQ0nKz3+IfYw57ZPD10AbWuEBFSxX9DEr2YuiOVyM96mbjD7NpZiFFPl7/06X+otQ7AtM5TWCBfe/UfcwyxsA6mUGHhmzsbVc0730tmUfYGkOZWizZQNDMQW8XUJA6DyMtF+XnW7GaOx9Kc6N+GoeKT6sBRyk3679cim23gRyL1kIIb034u6tf4/JHeDn9RvWwUakFaHApFb1P/jyoQynAmgoJX9bCruQiayF3pG3BMeZ0WZJC1kZfyARHLiQ10za/WDkRrAwhbLIsxpATVuERu0ADqdG3jm2muXjWx5GHxPv2XIN X-Microsoft-Antispam-PRVS: <BLUPR04MB884E444F54F8C06A499F6E481110@BLUPR04MB884.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)(3002001)(10201501046)(93006095)(93004095)(6055026)(6041248)(20161123562025)(20161123555025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148); SRVR:BLUPR04MB884; BCL:0; PCL:0; RULEID:; SRVR:BLUPR04MB884; X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB884; 4:vjWzWy144tHR7DbIShPZkZcM/xA8TR83aG0cjsDLKaTo44XhKi5UD6S7QmzFLYWYNAx95y8nNjLnC2rIwZ0LFGlA97rV2nSU/NHsZ33HgRA1clNlALm9M68EWUtLNzQCFtJMTwyq5H8yXp5ZpCUz3meopaJOYEui/Aihxf9yVl4JH65VApKJ3tolXRMkmRczrV0/7zA9JXjDffyGcgR+dpZ6/3LoojqYJG2DfEtu/TgcfBNYS2wty58KJX8zTHVeUa8QN3Ad47T4Z+IBTHwbUC5p9HfodD3e55Cl5KLAvDahASOrY/PHQUvSq8dPZ5FMyJsrf8FZW1jvGdqkLrOn7ZiZFkiN5L3QSxcrVMN4KRdtHLlbqRi8OhjkuM9IjX1wWQWXrI1RyR+qAafD6CgjtzypnBDsXAmbs1BHaIisQsHl49H6gaIoZLTmvD9jl+HLW55DbFsIR6iv8fUfdjUM4n28ufsqDskNSTEkLP7W9Up0gdadQRT8qqdJvrI5tkBT1Pgl38WLDWxjsZJHQY+NWfijFVJG9f3LpKTnh6/PJjXJ65Kbd+6jUAI+b+ou0oOmMJsefmLCwJrn5c/LpO4U9R1B5GY9SSovA4GoIfkQitY9CeXe2shNwIP8FOgiTbhdacvm68DUDW963tNOo/LFMeivV9pgBi/eKOJbl+C9/Vl/W7BeEBVX/87b4mHmAegN1IrthOdEI20Fck+WUe8fbmzh6b60mr14QKq9hc6o1UdHGALS07IIfObDtHcVnBB1r4ZmQad8plE5FvHB4hmnre/426zrtLpaJxEarwiGVkLheY5BBfx6YRddhlQEcGxBGsNbcsFcjfbNrf7egglkQBe8Sp4QRAbsuc11jCfXT1VrKU5GyfvhKFZ3PcrQxOUnPFQMA+Ghfuq9/Q0PYksrwJaaFUMK5xAzvAD/FG5pMjs = X-Forefront-PRVS: 0289B6431E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR04MB884; 23:GMyNzyzH/H9icD6yflZqV6aG4sZViODPqBSGtfxQb3?= =?us-ascii?Q?iCTH0X6pJGNcZewVBZLTcGUSx0VDt1jyKG4rhRiWpQricNhL2itADE4R/t+j?= =?us-ascii?Q?kWlSW7Pg+R9unVYnSsP39X4xVOINcg8A6idDsNdF00HgMLAlFptwjO9dR7gW?= =?us-ascii?Q?eC2QR1zuzex+JUKc6TkREMMmR8D8HyKx5mlqzgKAQ0llDHnOolqglcF80764?= =?us-ascii?Q?OTa3AjCM62d8Ht/CXAu5BQBWrBLCzdKAO/onpwvil8seDV1gdhTPNd1nL14A?= =?us-ascii?Q?/AZ0hVtf8UamXsSPkGA2UryzkgxWvZpSIkEB6JA7rT5bpdbDh0o13iQg+tiR?= =?us-ascii?Q?5V6IVOizLqUFVkMhyVDoWVKtp4PtoS7djwM+Zb0yW39OGUngfXFQSHp7bvfA?= =?us-ascii?Q?Ev1jFhQ2DEamj0WpJNa2vqOf6GHIQ4Aw5fXkBiL7VunPsWYEeffOsAtR0w3U?= =?us-ascii?Q?isceCByTuMBDtQKHhYC/SRbiWXY7Y4p+wxPZCkbcXRh1EC3U8ljAw3aBbqAI?= =?us-ascii?Q?R5vwn2RkmO1jYSZnz2k+ZAIUph/pvaOCL3frnQNz20LVfJ0pBJZhkV2/I3DX?= =?us-ascii?Q?vzLz3xn7VaVuKAvZ/DnhK+6Xu7qfJFV99FTfXMYjqLbawCfr6lUmUlfofc9G?= =?us-ascii?Q?gcEx9oAlO6NkMyfu/7d1rhrJHqYOSAbV75bT4Vio0UtJzSqC/fmUh6JDVEoz?= =?us-ascii?Q?bdZEIR4QI5hu4bCuvai3G/EkJlprHO46Cp8RE+zTWN3PQt3BFK7KmPC4G3bu?= =?us-ascii?Q?lShM/3wFif3QpsGF4mePsfAVifHfnAMEJiwK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wbBzzdQxIRZpM2CRfILNsre/f3N+p5RVPd6KZ58EKA2GoWe39NLz/gNHUm4j3oPBrB8hKfUmLvJv165nXiHziWLlASfTjwqSTS1vbitk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB884; 7:j31CrkSr8tgllYukAFVaeKKFDvm0bBKnlDdBmOwqeysbaLcvWNcuoYi2sz9F4Arc+7Rt6Wh2Kzy9L2RDJj6ZmOMfBcHc7/lxkc1MjEM3fqxVQAWbwTYgtvQ28M9k804CjDY1JHy7kmuHq6Y5ZRA3kNqta7Dwk1lLkB7UAgQ8vwyfrvuEYhRIYwmgYsU7Mh+Ggp4EKgs2+diw0xHQgxxR5wJwWlEW/PZjge8a156c5f9JOcANsefuxkDIyySkPTyCIn5NYN0iod9VCYICSW5alR/eY9Vt8hR9dicS9bHkKKMGH0Had+uW84Zz5nxyLSNxoLg9IbycM0aj4w+PP/L9NQ==; 20:gs5CjIKD4fcthRBC+btm3C1Habi6o8rtEk53jQmb1s9HnY6EZdmDv1O5o5kjklYptwRzpKYFCnPii7ZCUas7pbSJy0ttztydCv6SbkwXsXmd24qgAwySPbcO6lZJNIhCnrnRvTefa4/C2CCV730k0j/7MylDJdDpoIdtNktnqaA= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2017 20:48:06.8736 (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: BLUPR04MB884 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 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;