Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964821AbbLCJww (ORCPT ); Thu, 3 Dec 2015 04:52:52 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:33484 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932826AbbLCJwt (ORCPT ); Thu, 3 Dec 2015 04:52:49 -0500 Subject: Re: linux-next: build failure after merge of the block tree To: Christoph Hellwig References: <20151202161936.22b23668cf9dea9872b5079b@kernel.org> <20151202164527.GA31048@lst.de> <565F5D96.5050902@kernel.dk> <565FFFA5.6000003@bjorling.me> <20151203090638.GA14329@lst.de> Cc: Jens Axboe , Mark Brown , Keith Busch , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Organization: Paletta Message-ID: <566010EE.6050806@bjorling.me> Date: Thu, 3 Dec 2015 10:52:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151203090638.GA14329@lst.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1362 Lines: 26 On 12/03/2015 10:06 AM, Christoph Hellwig wrote: > On Thu, Dec 03, 2015 at 09:39:01AM +0100, Matias Bj?rling wrote: >> A little crazy yes. The reason is that the NVMe admin queues and NVMe user >> queues are driven by different request queues. Previously this was patched >> up with having two queues in the lightnvm core. One for admin and another >> for user. But was later merged into a single queue. > > Why? If you look at the current structure we have the admin queue > which is always allocated by the Low level driver, although it could and > should move to the core eventually. And then we have Command set specific > request_queues for the I/O queues. One per NS for NVM currenly, either > one per NS or one globally for LightNVM, and in Fabrics I currently > have another magic one :) Due to the tagset pointer in struct nvme_ctrl > that's really easy to handle. > The identify geometry command and bad block commands are part of the admin command set. Surely, as all these take a ns id, they can be moved and be accessed naturally through the user queues. Let me send out a revert for that patch. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/