From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759277AbbLCIjH (ORCPT ); Thu, 3 Dec 2015 03:39:07 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:34309 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758837AbbLCIjE (ORCPT ); Thu, 3 Dec 2015 03:39:04 -0500 Subject: Re: linux-next: build failure after merge of the block tree To: Jens Axboe , Christoph Hellwig , Mark Brown References: <20151202161936.22b23668cf9dea9872b5079b@kernel.org> <20151202164527.GA31048@lst.de> <565F5D96.5050902@kernel.dk> Cc: 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: <565FFFA5.6000003@bjorling.me> Date: Thu, 3 Dec 2015 09:39:01 +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: <565F5D96.5050902@kernel.dk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/02/2015 10:07 PM, Jens Axboe wrote: > On 12/02/2015 09:45 AM, Christoph Hellwig wrote: >> Looks like I didn't test with CONFIG_NVM enabled, and neither did >> the build bot. >> >> Most of this is really weird crazy shit in the lighnvm support, though. >> >> Struct nvme_ns is a structure for the NVM I/O command set, and it has >> no business poking into it. Second this commit: >> >> commit 47b3115ae7b799be8b77b0f024215ad4f68d6460 >> Author: Wenwei Tao >> Date: Fri Nov 20 13:47:55 2015 +0100 >> >> nvme: lightnvm: use admin queues for admin cmds >> >> Does even more crazy stuff. If a function gets a request_queue parameter >> passed it'd better use that and not look for another one. 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. We can pass both request queues into lightnvm core, but I prefer to handle it in some good way in the nvme-lightnvm integration.