From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kashyap Desai Subject: RE: [PATCH 00/10] mpt3sas: full mq support Date: Thu, 16 Feb 2017 16:15:05 +0530 Message-ID: <0c659c1cd2e47ca8e0abf72f56b9d000@mail.gmail.com> References: <1485854760-122683-1-git-send-email-hare@suse.de> <20170131100243.GA1811@lst.de> <9a9d5acd-5f51-ad5b-7364-1d7549c040fd@suse.de> <255dbb75-9ebd-0c7b-486e-e6fec772b8ca@suse.de> <41a4fdd78121e86e13dc874127b0b956@mail.gmail.com> <3e50cfdc-c330-4241-5ac3-a8f2ef5f77b4@suse.de> <1d7e8757-4b25-3f09-77ec-a286e83d3d73@suse.de> <4747beb1-0c16-171d-ab39-2e1a4692ba19@suse.de> <2770c802-b8b2-9035-c760-c5b970a9bd99@suse.de> <01e426acae471cf8e599a5100bc8d409@mail.gmail.com> <3d257aa567a9a3e0081ca342aaf7c354@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-qt0-f180.google.com ([209.85.216.180]:33722 "EHLO mail-qt0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752688AbdBPKpH (ORCPT ); Thu, 16 Feb 2017 05:45:07 -0500 Received: by mail-qt0-f180.google.com with SMTP id v23so10553968qtb.0 for ; Thu, 16 Feb 2017 02:45:07 -0800 (PST) In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Hannes Reinecke , Sreekanth Reddy Cc: Christoph Hellwig , "Martin K. Petersen" , James Bottomley , linux-scsi@vger.kernel.org, Sathya Prakash Veerichetty , PDL-MPT-FUSIONLINUX > > - Later we can explore if nr_hw_queue more than one really add benefit. > > From current limited testing, I don't see major performance boost if > > we have nr_hw_queue more than one. > > > Well, the _actual_ code to support mq is rather trivial, and really serves > as a > good testbed for scsi-mq. > I would prefer to leave it in, and disable it via a module parameter. I am thinking as adding extra code for more than one nr_hw_queue will add maintenance overhead and support. Especially IO error handling code become complex with nr_hw_queues > 1 case. If we really like to see performance boost, we should attempt and bare other side effect. For time being we should drop this nr_hw_queue > 1 support is what I choose (not even module parameter base). > > But in either case, I can rebase the patches to leave any notions of > 'nr_hw_queues' to patch 8 for implementing full mq support. Thanks Hannes. It was just heads up...We are not sure when we can submit upcoming patch set from Broadcom. May be we can syncup with you offline in case any rebase requires. > > And we need to discuss how to handle MPI2_FUNCTION_SCSI_IO_REQUEST; > the current method doesn't work with blk-mq. > I really would like to see that go, especially as sg/bsg supports the same > functionality ... >