From: hch@infradead.org (Christoph Hellwig) Date: Thu, 25 Apr 2019 07:39:02 -0700 Subject: [PATCH] nvme: determine the number of IO queues In-Reply-To: References: <1555510379-20199-1-git-send-email-aaron.ma@canonical.com> <096935354b16662eb481aeda1f48001ba489463c.camel@redhat.com> <20190418134820.GA7589@localhost.localdomain> Message-ID: <20190425143902.GA30715@infradead.org> On Thu, Apr 18, 2019@10:21:03PM +0800, Aaron Ma wrote: > > > On 4/18/19 9:48 PM, Keith Busch wrote: > > It does change the default behavior. If I have a degraded controller that > > can't do IO in a machine with 1000's of CPUs, I have to iterate this > > non-standard behavior 1000's of times before the drive is servicable > > again. We currenlty figure that out in just a single try. > > > > At least the quirks document *why* the driver is doing non-standard > > behavior. We do the IO queue quirks for Macbooks, for example. > > > > But why don't you file a bug report with the device vendor instead? Surely > > a firmware fix provides the best possible outcome, and would make this > > device work not only in all versions of Linux, but also every standard > > compliant driver for any OS. > > I will do it, no v2 for now. Honestly, unless this is a device shiping in a max market consumer product already I don't think we should work around this crap at all, given that this device has obviously never been tested at all. It really needs a firmware fix instead of a host workaround.