Message ID | 1516725821.3339.11.camel@wdc.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 E4B63602B7 for <patchwork-linux-block@patchwork.kernel.org>; Tue, 23 Jan 2018 16:44:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC27C285EB for <patchwork-linux-block@patchwork.kernel.org>; Tue, 23 Jan 2018 16:44:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0A4E286C5; Tue, 23 Jan 2018 16:44:05 +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=unavailable 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 446B8285EB for <patchwork-linux-block@patchwork.kernel.org>; Tue, 23 Jan 2018 16:44:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751401AbeAWQns (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Tue, 23 Jan 2018 11:43:48 -0500 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:55005 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751234AbeAWQnq (ORCPT <rfc822;linux-block@vger.kernel.org>); Tue, 23 Jan 2018 11:43:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1516725826; x=1548261826; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=YQSQFt6zKXurbOV/uSC7WuWsgc2vhRpK5WNx3SF41po=; b=HLiz6n+YV978DIUYkJC7rrlpHVnyrfZJTW7um7mWnyRtpw3KtfzwaD0A 37FbXL3y+gmVzgOwx4l/7+pMPSLD0rxALNCAgtkUCY/ncyoJtp2FEx3m6 A5fmq+Nsph/zm8PP/8ULPhrYt1yFOj9j0sY0s34ELJQJtCujl8atIs3cT Fdq0iuJATFwah2phLF7oxYtWWCgtqck+v3pCmAehhVhKRmhva85Vb5DMJ 910N92Zg6ynTyvfnhM4F0kiyIfTUjAiTgdNHUBKdYuk/1cozTGHvL0xj4 zI594fJMHbwEnKR1i2zm4cvtwlJyqWWu4Uk+XwZvo63c6FtuA3BXQKMTc g==; X-IronPort-AV: E=Sophos;i="5.46,402,1511798400"; d="scan'208";a="172601446" Received: from mail-sn1nam01lp0112.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) ([207.46.163.112]) by ob1.hgst.iphmx.com with ESMTP; 24 Jan 2018 00:43:44 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=YQSQFt6zKXurbOV/uSC7WuWsgc2vhRpK5WNx3SF41po=; b=Dkmm+0VNS/lBaBLL6B/+ek98yasFvubSB6qWSIqkNsPVwyM2umewNMcVf/Pu4m7NV41OVvNkw3xFAvgWCiyFXYHBHGTqtXTeYkoMB1J7u4MyFcTb6XxEiOXZBrv9m6cLeI4/TCxljXgqAX0WFuH0V9OXtkI/zHRWfie+tvqMMFQ= Received: from CY1PR0401MB1536.namprd04.prod.outlook.com (10.163.19.154) by CY1PR0401MB1739.namprd04.prod.outlook.com (10.162.167.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Tue, 23 Jan 2018 16:43:42 +0000 Received: from CY1PR0401MB1536.namprd04.prod.outlook.com ([10.163.19.154]) by CY1PR0401MB1536.namprd04.prod.outlook.com ([10.163.19.154]) with mapi id 15.20.0428.019; Tue, 23 Jan 2018 16:43:42 +0000 From: Bart Van Assche <Bart.VanAssche@wdc.com> To: "ming.lei@redhat.com" <ming.lei@redhat.com>, "snitzer@redhat.com" <snitzer@redhat.com>, "axboe@kernel.dk" <axboe@kernel.dk> CC: "dm-devel@redhat.com" <dm-devel@redhat.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "hch@infradead.org" <hch@infradead.org>, "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>, "osandov@fb.com" <osandov@fb.com> Subject: Re: [PATCH] block: neutralize blk_insert_cloned_request IO stall regression (was: Re: [RFC PATCH] blk-mq: fixup RESTART when queue becomes idle) Thread-Topic: [PATCH] block: neutralize blk_insert_cloned_request IO stall regression (was: Re: [RFC PATCH] blk-mq: fixup RESTART when queue becomes idle) Thread-Index: AQHTlCusgIoQsu5UBE2YdZ4hvi5US6OBqk6A Date: Tue, 23 Jan 2018 16:43:42 +0000 Message-ID: <1516725821.3339.11.camel@wdc.com> References: <1516296056.2676.23.camel@wdc.com> <20180118183039.GA20121@redhat.com> <1516301278.2676.35.camel@wdc.com> <deeb2b2e-6d0e-a144-843d-d08626de8aea@kernel.dk> <20180118204856.GA31679@redhat.com> <1516309128.2676.38.camel@wdc.com> <20180118212327.GB31679@redhat.com> <1516311554.2676.50.camel@wdc.com> <20180118220132.GA20860@redhat.com> <1516314012.2676.76.camel@wdc.com> <20180123092204.GA39002@redhat.com> In-Reply-To: <20180123092204.GA39002@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [199.255.44.172] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY1PR0401MB1739; 7:v8l2d8TXUbo6+HO2Qrb2FOkBSN14cYwfOKeQn20N8eOql7CUWWxhPxTDMDLan3iyiTFGIUE1Bd7bPhaMPE4RyB112cOEdQT0owv4xQgGw3mnbg9ubxi/n55ex5wYG6/L7/FgLyTQrFFmw1vh/Ajok5Hkecf4I5xXXreuqHH7A9RyHABGxUMxDu5tXG/cg0TCXUpdvwcCqxxkW3nXfPxca3fSSzdodK0WFwh5aAUxqXD4EEix6i3V9+qFurU4lCuV; 20:Y8HCiKX8HwlzbZOFzZifAgTUvBIRphiIRDB25ZpHG3mcfn6g+5E5jLbv1heOGzDWCYWiv0naI4v2vc9YR1+pazwsBP4w/IcsMJbAEFgPqSaKeYUrXQjaMPxtOo1L8OLPVqzXcIb9q0sgMd5scfgAuiZ9GeJ8Anv9AcM2Lkaz5aI= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: e1bd880c-a25b-4ca3-3466-08d562807659 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603307)(7153060)(7193020); SRVR:CY1PR0401MB1739; x-ms-traffictypediagnostic: CY1PR0401MB1739: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: <CY1PR0401MB173961241AE345D2B552013698E30@CY1PR0401MB1739.namprd04.prod.outlook.com> x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(3231023)(2400081)(944501161)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:CY1PR0401MB1739; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY1PR0401MB1739; x-forefront-prvs: 05610E64EE x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39380400002)(376002)(39860400002)(346002)(366004)(396003)(199004)(189003)(377424004)(8936002)(2906002)(76176011)(36756003)(81156014)(68736007)(6346003)(2201001)(59450400001)(8676002)(316002)(81166006)(86362001)(99286004)(66066001)(3280700002)(102836004)(54906003)(6506007)(110136005)(6436002)(105586002)(305945005)(6486002)(229853002)(103116003)(478600001)(72206003)(3660700001)(106356001)(966005)(7736002)(2950100002)(5660300001)(6306002)(53936002)(4326008)(6512007)(3846002)(6116002)(25786009)(2501003)(6246003)(2900100001)(77096007)(14454004)(97736004)(26005)(93886005); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0401MB1739; H:CY1PR0401MB1536.namprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-microsoft-antispam-message-info: 0bmVl+26IH7fMgWKufJOXLTG2N7Fwe2dYwOoCJtgha41nVmvja59HEY5pIBv72mMngGrGRDTEudnU34Hk3WtEQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <52311D48A419A544AD4B1A0A76FC9B4B@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1bd880c-a25b-4ca3-3466-08d562807659 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2018 16:43:42.3061 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0401MB1739 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/drivers/md/dm-rq.c b/drivers/md/dm-rq.c index f16096af879a..c59c59cfd2a5 100644 --- a/drivers/md/dm-rq.c +++ b/drivers/md/dm-rq.c @@ -761,6 +761,7 @@ static blk_status_t dm_mq_queue_rq(struct blk_mq_hw_ctx *hctx, /* Undo dm_start_request() before requeuing */ rq_end_stats(md, rq); rq_completed(md, rq_data_dir(rq), false); + blk_mq_delay_run_hw_queue(hctx, 100/*ms*/); return BLK_STS_RESOURCE; }