Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756303AbdDFFiV (ORCPT ); Thu, 6 Apr 2017 01:38:21 -0400 Received: from mail-sn1nam01on0108.outbound.protection.outlook.com ([104.47.32.108]:45373 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755720AbdDFFiN (ORCPT ); Thu, 6 Apr 2017 01:38:13 -0400 From: Long Li To: KY Srinivasan , Bart Van Assche , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "axboe@kernel.dk" CC: Stephen Hemminger Subject: RE: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart Thread-Topic: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart Thread-Index: AQHSrms40Uir2JJba0uWmbYvvI7Kv6G3faUAgAAz6xCAAAIZAIAACeWAgAAULvA= Date: Thu, 6 Apr 2017 05:38:10 +0000 Message-ID: References: <1491437781-3565-1-git-send-email-longli@exchange.microsoft.com> <1491438735.2787.18.camel@sandisk.com> <1491450335.8994.1.camel@sandisk.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: microsoft.com; dkim=none (message not signed) header.d=none;microsoft.com; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [2001:4898:80e8:5::735] x-microsoft-exchange-diagnostics: 1;BY2PR0301MB2101;7:Lz7fVb5AxojuHrSB0XNXnAstrCxOhx0v5U9gevl8U2dnnfQI6jAo5DhSBfqW92eWZUXnSwPLFN5ao75gow7JGDXSC4CQw3jOcHys06nXfSSC9hHM7TynOucNBmxU54Z3zCine79jZ0pHmdzieP9wFVB8b7yWUvhWHmMSZrXrwNxhCCsOMJlzfSd7mdiAWWFd5y0HYU1fKIvsihwWu8XWfF1fB9D1nwzCrkLzcDufYEUCu1wddyITHPh62FvZrw5EhHw9YvtnqbO4Nqjw2rid3gkns0vCxK8owT78EaUEsXh4D4zWL2KQSBd7BTxtEILXY4ZdRgru7QkoBtELX9BeRYah7g9RUUbyiI+QyUxV148= x-ms-office365-filtering-correlation-id: 448e91cb-05f0-4272-5b37-08d47caf1c95 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075);SRVR:BY2PR0301MB2101; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(42932892334569); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(6072148);SRVR:BY2PR0301MB2101;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB2101; x-forefront-prvs: 02698DF457 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39840400002)(39850400002)(39400400002)(39410400002)(39860400002)(39450400003)(377454003)(377424004)(13464003)(24454002)(9686003)(2950100002)(7696004)(53936002)(229853002)(38730400002)(54356999)(76176999)(107886003)(4326008)(6506006)(6436002)(8656002)(77096006)(55016002)(99286003)(50986999)(93886004)(2561002)(2900100001)(122556002)(6116002)(189998001)(102836003)(8936002)(81166006)(8676002)(53546009)(8990500004)(33656002)(2906002)(7736002)(74316002)(10090500001)(10290500002)(305945005)(5005710100001)(5660300001)(3280700002)(2201001)(25786009)(3660700001)(6246003)(86362001);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR0301MB2101;H:CO2PR03MB2230.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2017 05:38:10.4231 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB2101 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v365dY59026997 Content-Length: 1633 Lines: 49 > -----Original Message----- > From: KY Srinivasan > Sent: Wednesday, April 5, 2017 9:21 PM > To: Bart Van Assche ; linux- > kernel@vger.kernel.org; linux-block@vger.kernel.org; Long Li > ; axboe@kernel.dk > Cc: Stephen Hemminger > Subject: RE: [PATCH] block-mq: set both block queue and hardware queue > restart bit for restart > > > > > -----Original Message----- > > From: Bart Van Assche [mailto:Bart.VanAssche@sandisk.com] > > Sent: Wednesday, April 5, 2017 8:46 PM > > To: linux-kernel@vger.kernel.org; linux-block@vger.kernel.org; Long Li > > ; axboe@kernel.dk > > Cc: Stephen Hemminger ; KY Srinivasan > > > > Subject: Re: [PATCH] block-mq: set both block queue and hardware queue > > restart bit for restart > > > > On Thu, 2017-04-06 at 03:38 +0000, Long Li wrote: > > > > -----Original Message----- > > > > From: Bart Van Assche [mailto:Bart.VanAssche@sandisk.com] > > > > > > > > Please drop this patch. I'm working on a better solution. > > > > > > Thank you. Looking forward to your patch. > > > > Hello Long, > > > > It would help if you could share the name of the block or SCSI driver > > with which you ran into that lockup and also if you could share the > > name of the I/O scheduler used in your test. > > The tests that indicated the issue were run Hyper-V. The driver is > storvsc_drv.c The I/O scheduler was I think noop. Yes, we see I/O hung on scheduler none. Also tried on mq-deadline, same hung with the same cause. > > K. Y > > > > Thanks, > > > > Bart.