Message ID | 20170525233810.23211-4-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 1CF226032C for <patchwork-linux-block@patchwork.kernel.org>; Thu, 25 May 2017 23:38:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EA9A28381 for <patchwork-linux-block@patchwork.kernel.org>; Thu, 25 May 2017 23:38:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03520283D9; Thu, 25 May 2017 23:38:43 +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 7D80528381 for <patchwork-linux-block@patchwork.kernel.org>; Thu, 25 May 2017 23:38:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969352AbdEYXik (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Thu, 25 May 2017 19:38:40 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:19363 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969355AbdEYXi1 (ORCPT <rfc822;linux-block@vger.kernel.org>); Thu, 25 May 2017 19:38:27 -0400 X-IronPort-AV: E=Sophos;i="5.38,394,1491235200"; d="scan'208";a="21634271" Received: from mail-sn1nam01lp0119.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) ([207.46.163.119]) by ob1.hgst.iphmx.com with ESMTP; 26 May 2017 07:38:21 +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=h0X9FiSvygi9Pu3Q7j1YXUYWeMb3Cfl8UIsQ7fAQY8o=; b=Rq3faeI43um31yLeEyhoDdep6JSfoVYNJWxmEdC1GrQX11f+4k6aigK/Q3CtwEvcFXOcxYYqRs7ilDTM1TT4ZQdyz9JdI4uaD2ODLDWz4Z2v9yRBhNsASOkMy/uRnm+9Oi5+PE53+4UevFSgkP1EYtKMcYWJP9yXyMjJPJG4qlE= Received: from BLUPR0401CA0030.namprd04.prod.outlook.com (10.162.114.168) by BN6PR04MB0355.namprd04.prod.outlook.com (10.173.198.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Thu, 25 May 2017 23:38:19 +0000 Received: from BN3NAM04FT059.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::207) by BLUPR0401CA0030.outlook.office365.com (2a01:111:e400:525a::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Thu, 25 May 2017 23:38:18 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; fb.com; dkim=none (message not signed) header.d=none;fb.com; 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 BN3NAM04FT059.mail.protection.outlook.com (10.152.93.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1101.12 via Frontend Transport; Thu, 25 May 2017 23:38:18 +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 34.25.45291.8EA67295; Thu, 25 May 2017 16:38:17 -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; Thu, 25 May 2017 16:38:14 -0700 X-AuditID: 0ac94369-166ac9800001b0eb-52-59276ae84cb7 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 26.54.18148.6EA67295; Thu, 25 May 2017 16:38:14 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Jens Axboe <axboe@kernel.dk> CC: <linux-block@vger.kernel.org>, Christoph Hellwig <hch@lst.de>, "Bart Van Assche" <bart.vanassche@sandisk.com>, Hannes Reinecke <hare@suse.com>, "Omar Sandoval" <osandov@fb.com>, Ming Lei <ming.lei@redhat.com> Subject: [PATCH 3/5] blk-mq-debugfs: Show requeue list Date: Thu, 25 May 2017 16:38:08 -0700 Message-ID: <20170525233810.23211-4-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170525233810.23211-1-bart.vanassche@sandisk.com> References: <20170525233810.23211-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRmVeSWpSXmKPExsXCddJ5ke7LLPVIg7dLGC1W3+1ns1jwZi+b xcrVR5ks9t7Stjg0uZnJ4vC9qywObB4Tm9+xe1w+W+qx+2YDm8f7fVfZPNZvucri8XmTXABb FJdNSmpOZllqkb5dAlfGgfnz2QrOClRMObqesYGxm6+LkZNDQsBE4vqTtywgtpDAUiaJC3Ms uhi5gOwdjBL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jNb/Dc5XzYfsG/R/8X5UYwTm6z YzOvN61e2+p7rvef3COHLomG740Z+wXD9bINnVgY2/Ze83qtKycanSHcOH3Rz18S9V+4A1IX fn3invj5r8fEz19fCbxRXHNTiaU4I9FQi7moOBEAV6LyBsoBAAA= 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)(39860400002)(39840400002)(39400400002)(39410400002)(39850400002)(39450400003)(2980300002)(438002)(189002)(199003)(9170700003)(2906002)(4326008)(6666003)(110136004)(8676002)(189998001)(2950100002)(38730400002)(81166006)(6916009)(305945005)(77096006)(48376002)(50466002)(53936002)(8936002)(230783001)(50986999)(76176999)(33646002)(47776003)(5660300001)(5003940100001)(72206003)(356003)(86362001)(36756003)(106466001)(54906002)(478600001)(1076002)(50226002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR04MB0355; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT059; 1:ivt9fpGkdiWls1ueMsygrGZWUIr8dLV6rZwUUcwvzZify14/dLwhAtn4bkECjOuX5ilsqySLH0Z4xPj9iRLdlGALvzhgthGmnd8hv6k2b5Z46hTEhAifugvyITwHo+Rqs5o/2FQ1sfu+dULPWeEKSbVrOFD5Koh3c7X5lYd66tR90QlVzFK7QJVWTOZUqzbLHBmjoctKRW8I8T2u3KXCXT601a+COqb02811RwUpN3fyGyT1OcG8u92HWHHjfCx0TzFvSql4+ZUiVIrZ2o7MARD30KgR2DrUAdCPNsjDEBSlMRf2OWaWHEK2rHEawxkieD0gEQ4mIz2TFs0i1wm/ltAFE47/2s2LUKUz+PpNqb4Egy9LeqjCye7YD0G/8kZkrinXjQEiHu/0hZ89D8bDc+H+rXCP3rkVQ9J17n3ObaTyNmXKlEFLdh+9E1HZOKrCrwbiBOjT8Zb4kRLxUqpt+FMRAzr5uVXSkHSZf2TsN1yg0IucOsGqJCUfF/sa336IY0jahte4/kPv+3H9Pd9JPexVikOP7fFZmtt3dQ1GbuY= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6PR04MB0355: X-MS-Office365-Filtering-Correlation-Id: f918f2a6-8fb2-4aef-db84-08d4a3c71f78 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BN6PR04MB0355; X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0355; 3:2cy4wqM3KX1jkvMhLOAjgoV/Iwg6IlreFUucaNYzaeld5EGriqYGisky32EjawPeDPdrzNnxL4NkjNBg3Tx8JOdW/8QIdDI872V7ePR9+RAjjR8hltaUk9K1zjW4SrRBWFB9krrNag4VdJJz0RXveQg8K1+8frnBpCZU+WcyCCiQMvobhL1NbsjtXKZF5Z2Q/LwA/UM6jU+6inUDuikkEcAkOQi3bpUWgP01csxutrKYkZN0xxdNlSqwzp/wLbzYC9xDvQqdVEYYx8TQpybmQebb/L0cL8Di5iIxEKraEsOdrk/m57RPj9nKe4f5MomtVWa2bcae2XUlSt+9mJQ5NLpz9yWn/BGg+OsFtMClaXHlF/csPvVfzTGP39KR+gNKBf7zdvNvIH03QxC7Dsh+P63UAWePOcARtQ2XdWIAkln6Vcci1Sp1AmxGinmxCAA5c3liLdoOgsetI8mCrS6quSEsqnQND4nX+fgDo8KSoz7uRoS93zEoL+CqLOpqUHOSGSe5z2i172+7nk+RUyPFvw== X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0355; 25:EH0uJ1x+2WUZKbh4U3vD7GbtDOPf+M302LFFJxO9/scoME0yHsT5gvnhWr7Spu+ODO09Wl7EyQ9vsVztb4RnR0dF1+rBDhAxR0gvNhNuBOBUUGrrJc6sS7ck82ZgZagzL8ZAilYE0YEC9557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wQxZAsb2P0M8/XWHBvlZxjW0whLkg0jukRcTCq49gVigEBit4AcVkLfmY4bM/VYXu+R1d30htMXKblrDk2EeaQ9WEQ0PShh4eUDflY0dGMg2RP8yG27AaLp8B5O/C X-Microsoft-Antispam-PRVS: <BN6PR04MB0355E15D707691AA2E88B19E81FF0@BN6PR04MB0355.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)(13018025)(8121501046)(3002001)(10201501046)(93006095)(93004095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123558100)(20161123560025)(20161123562025)(6072148); SRVR:BN6PR04MB0355; BCL:0; PCL:0; RULEID:; SRVR:BN6PR04MB0355; X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0355; 4:P1jAXPquPQKf0GYw2YNBMKA7vTseBCot6IzcP+LQUQEZ49k9wyWYW16U9nvHgRF9XPI4HZHCKGswHzTCeN4Ei657/hDJdeV3AmWJ6nfoNyx1F6SENi/2F4cJThhuaM2inr7ZL9NabBZP/CSVK4Mdv5pKoJOQ3dT5TmPr1ZweJOzA62n3PBKTo7lNYF996jB7uAIl1z12I3xllEB5pop+B4SvIlJNE5tH/zA97x+1jBRyOgbWVcTXghNLbYcTnObwHfYs7ySkNrhDt5JYae8WiB6pV0+PQHaDnRHYmgMst6NFrcWl3wgKPxnK9m4eFGWc0NPczp2jg2rD30o+Dgoszb9O74vIZUHwUL5UZQr6mb1767kcDw6KFcn2BtWjA3Fs2T0Ui5wCfkRkoUZW3Qck/jLFtCEoRKOqccPdkEb7G3XbFMzc+TCoAtTfg4iZp7XQ9OoJbvEI20UBtEJKRwotBEFnYxmfPjj7LETjgnhW/tB4Y2cpEolI4j+/lQHe3mSi/yaWMs++eo7WKX1SmdVjqI7jkjiiPPrnfCcDmhyTRF6xPzLL54rsl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ODQrDABCPf26rDQHiZh3Jv89umIWw4Wpgxrm5lLJaGpbUhxh4tW81+k7SRwHZ+WF79hkqk+73DoAg= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2017 23:38:18.1978 (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: BN6PR04MB0355 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 |
On 05/26/2017 01:38 AM, Bart Van Assche wrote: > When verifying whether or not a blk-mq driver forgot to kick the > requeue list after having requeued a request it is important to > be able to verify the contents of the requeue list. Hence export > that list through debugfs. > > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Hannes Reinecke <hare@suse.com> > Cc: Omar Sandoval <osandov@fb.com> > Cc: Ming Lei <ming.lei@redhat.com> > --- > block/blk-mq-debugfs.c | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index d56ddd7a1285..8b06a12c1461 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -308,6 +308,37 @@ int blk_mq_debugfs_rq_show(struct seq_file *m, void *v) } EXPORT_SYMBOL_GPL(blk_mq_debugfs_rq_show); +static void *queue_requeue_list_start(struct seq_file *m, loff_t *pos) + __acquires(&q->requeue_lock) +{ + struct request_queue *q = m->private; + + spin_lock_irq(&q->requeue_lock); + return seq_list_start(&q->requeue_list, *pos); +} + +static void *queue_requeue_list_next(struct seq_file *m, void *v, loff_t *pos) +{ + struct request_queue *q = m->private; + + return seq_list_next(v, &q->requeue_list, pos); +} + +static void queue_requeue_list_stop(struct seq_file *m, void *v) + __releases(&q->requeue_lock) +{ + struct request_queue *q = m->private; + + spin_unlock_irq(&q->requeue_lock); +} + +static const struct seq_operations queue_requeue_list_seq_ops = { + .start = queue_requeue_list_start, + .next = queue_requeue_list_next, + .stop = queue_requeue_list_stop, + .show = blk_mq_debugfs_rq_show, +}; + static void *hctx_dispatch_start(struct seq_file *m, loff_t *pos) __acquires(&hctx->lock) { @@ -665,6 +696,7 @@ const struct file_operations blk_mq_debugfs_fops = { static const struct blk_mq_debugfs_attr blk_mq_debugfs_queue_attrs[] = { {"poll_stat", 0400, queue_poll_stat_show}, + {"requeue_list", 0400, .seq_ops = &queue_requeue_list_seq_ops}, {"state", 0600, queue_state_show, queue_state_write}, {}, };
When verifying whether or not a blk-mq driver forgot to kick the requeue list after having requeued a request it is important to be able to verify the contents of the requeue list. Hence export that list through debugfs. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Cc: Omar Sandoval <osandov@fb.com> Cc: Ming Lei <ming.lei@redhat.com> --- block/blk-mq-debugfs.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)