Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752842AbdDMXMO (ORCPT ); Thu, 13 Apr 2017 19:12:14 -0400 Received: from mail-by2nam01on0105.outbound.protection.outlook.com ([104.47.34.105]:11726 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752070AbdDMXMM (ORCPT ); Thu, 13 Apr 2017 19:12:12 -0400 From: Long Li To: Bart Van Assche , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , KY Srinivasan , "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: AQHSrms40Uir2JJba0uWmbYvvI7Kv6G3faUAgAAz6xCAAAIZAIAACeWAgAePSICABKzcQA== Date: Thu, 13 Apr 2017 23:12:09 +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> <1491868058.4199.28.camel@sandisk.com> In-Reply-To: <1491868058.4199.28.camel@sandisk.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: sandisk.com; dkim=none (message not signed) header.d=none;sandisk.com; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [2001:4898:80e8::e3] x-microsoft-exchange-diagnostics: 1;BN6PR03MB2484;7:r7X3rmyLg4yZ4Vm46J0s7YMJOMRcJO/CnWHr6PPVjYqpa0rJo9rMbiQTCoP+TQAFVXgDQ09poWrRueUPXQWltM2878XubDVlL2TPcriYdfFutH3kq/CJpHk9q6UfiiNmunxsolsu2EyO6Fi2SuPqt73jp8HcVhQW8LDhiTd30NGXh4BCb0R+XBhGbFJ0JKOLN5AQiaKq0HO7r2jbEkI58eYfz5KH7s7+ONzv4o2LdQrCiWIMkwUaAvqav/4S3TrIzuGeSx730tAKdEYOE63jpi1WlbkZ4nNshDwWDbGp0vFpGCoArXwIdr5ryZeBnWQJoTGKgUADWojVvIFbwHHFRNtesCQm27sEafDY4zmNzDA= x-ms-office365-filtering-correlation-id: 62b92f98-7eac-482a-4258-08d482c28312 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:BN6PR03MB2484; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(67672495146484)(42932892334569); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(6072148);SRVR:BN6PR03MB2484;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2484; x-forefront-prvs: 02760F0D1C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39400400002)(39850400002)(39410400002)(39860400002)(39840400002)(39450400003)(377454003)(377424004)(13464003)(24454002)(5005710100001)(10290500002)(8990500004)(2501003)(2906002)(99286003)(38730400002)(107886003)(189998001)(53936002)(55016002)(9686003)(8656002)(6246003)(33656002)(2900100001)(575784001)(2201001)(1511001)(86362001)(86612001)(122556002)(3660700001)(3280700002)(345774005)(2950100002)(2421001)(10090500001)(76176999)(50986999)(54356999)(102836003)(7696004)(305945005)(7736002)(4326008)(25786009)(53546009)(229853002)(5660300001)(74316002)(93886004)(81166006)(8936002)(6506006)(77096006)(8676002)(6436002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR03MB2484;H:BN3PR03MB2227.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2017 23:12:09.9049 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2484 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 quoted-printable to 8bit by mail.home.local id v3DNCJQN018688 Content-Length: 3267 Lines: 92 > -----Original Message----- > From: Bart Van Assche [mailto:Bart.VanAssche@sandisk.com] > Sent: Monday, April 10, 2017 4:48 PM > To: linux-kernel@vger.kernel.org; linux-block@vger.kernel.org; KY Srinivasan > ; Long Li ; axboe@kernel.dk > Cc: Stephen Hemminger > Subject: Re: [PATCH] block-mq: set both block queue and hardware queue > restart bit for restart > > On Thu, 2017-04-06 at 04:21 +0000, KY Srinivasan wrote: > > > -----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. > > Hello Long and K.Y., > > Thank you for the feedback. Can you repeat your test with kernel v4.11-rc6? > The patches that went into the block layer for v4.11-rc6 should be sufficient > to fix > this: > > $ PAGER= git log --format=short v4.11-rc5..v4.11-rc6 block include/linux/blk* > commit 6d8c6c0f97ad8a3517c42b179c1dc8e77397d0e2 > Author: Bart Van Assche > > ????blk-mq: Restart a single queue if tag sets are shared > > commit 7587a5ae7eef0439f7be31f1b5959af062bbc5ec > Author: Bart Van Assche > > ????blk-mq: Introduce blk_mq_delay_run_hw_queue() > > commit ebe8bddb6e30d7a02775b9972099271fc5910f37 > Author: Omar Sandoval > > ????blk-mq: remap queues when adding/removing hardware queues > > commit 54d5329d425650fafaf90660a139c771d2d49cae > Author: Omar Sandoval > > ????blk-mq-sched: fix crash in switch error path > > commit 93252632e828da3e90241a1c0e766556abf71598 > Author: Omar Sandoval > > ????blk-mq-sched: set up scheduler tags when bringing up new queues > > commit 6917ff0b5bd4139e08a3f3146529dcb3b95ba7a6 > Author: Omar Sandoval > > ????blk-mq-sched: refactor scheduler initialization > > commit 81380ca10778b99dce98940cfc993214712df335 > Author: Omar Sandoval > > ????blk-mq: use the right hctx when getting a driver tag fails > > commit ac77a0c463c1d7d659861f7b6d1261970dd3282a > Author: Minchan Kim > > ????block: do not put mq context in blk_mq_alloc_request_hctx > > Bart. Thank you. We are doing tests. I will update on the results. Long