Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1283774

Re: linux-next: build failure after merge of the block tree

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Matias Bjørling <m@bjorling.me>
Newsgroups linux.kernel
Subject Re: linux-next: build failure after merge of the block tree
Date Fri, 04 Dec 2015 13:20:02 +0100
Message-ID <qBXvc-2xR-11@gated-at.bofh.it> (permalink)
References <qBiim-161-7@gated-at.bofh.it> <qBiLp-1hG-43@gated-at.bofh.it> <qBmP1-47N-47@gated-at.bofh.it> <qBxAM-2vK-51@gated-at.bofh.it> <qBy3M-2WY-17@gated-at.bofh.it> <qByQa-3g4-19@gated-at.bofh.it> <qByQa-3g4-21@gated-at.bofh.it> <qByZP-3zg-5@gated-at.bofh.it> <qBzjc-3FV-11@gated-at.bofh.it> <qBzVU-4ak-19@gated-at.bofh.it> <qBFeW-7CN-15@gated-at.bofh.it>
X-Original-To Christoph Hellwig <hch@lst.de>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=bjorling.me; s=google; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=E2Tc8Sb39TitCsS8fI2ot/C00dLyxjHLPYUXK8FkZSA=; b=iZxEYu7B53Qh0TdXundPCwaoqHFIkU0pzlzSDPU49tMn7fHIrsp/umq/z84+PLX380 XTld6ynT3G6YyYPP++lELjs/HwVVqy+mYmiZ7lJzJDKTQZ2FYTOndXdGsfBWLmnDVOyP dCNuHlybYEDnAEfKijQzx0ncqFo0VImE0Q9fY=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=E2Tc8Sb39TitCsS8fI2ot/C00dLyxjHLPYUXK8FkZSA=; b=YnCi0K5GloQtevUjcxm7JG8P5a5DHvDmXVVxm2pk2sAc8KcLt4Gigd/BZfWTVDEkx/ b9YoQoyIdbF0kXVBI4Hqy94NNqTkEzYK+DQ+JJEAG4HiQSFhaJQ0qR63KZ/wZR3SeKw7 TK19tG0j/0IHs+M6k3uuWz4Jf4Q49WeoqbZypRuayR1AE9KAh1tQb7DE+m00h+q8O/y+ p3uPw5aOdWpiqV0fzkcun+E9U5hiLd70ZGkfsi9jJkmUqhEt/KFwSLnMot2PheG2Fs7C oem+AF3dWPZUlI9g93DX1Fy8h+kqT6ejhLD2PhA99P8aasX7MIXiSVLJr/3xUGUoGjb5 xeIg==
X-Gm-Message-State ALoCoQkKtREZBoitLA/earlS1mYyciJRNzVxuEFYjThjB5/u1CAmPmf0M0j6af5YvTAMwnz8zE4Ca+MIIRDU2i1HB0D9gH6yeQ==
X-Received by 10.28.182.134 with SMTP id g128mr4885529wmf.95.1449231382872; Fri, 04 Dec 2015 04:16:22 -0800 (PST)
Organization Paletta
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 37
X-Original-Cc Jens Axboe <axboe@kernel.dk>, Mark Brown <broonie@kernel.org>, Keith Busch <keith.busch@intel.com>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org
X-Original-Date Fri, 4 Dec 2015 13:16:21 +0100
X-Original-Message-ID <56618415.3010405@bjorling.me>
X-Original-References <20151202161936.22b23668cf9dea9872b5079b@kernel.org> <20151202164527.GA31048@lst.de> <565F5D96.5050902@kernel.dk> <565FFFA5.6000003@bjorling.me> <20151203090638.GA14329@lst.de> <566010EE.6050806@bjorling.me> <20151203095726.GA15428@lst.de> <566014BF.3080702@bjorling.me> <20151203102132.GA15905@lst.de> <5660226B.5070800@bjorling.me> <20151203164259.GA14678@lst.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1283774

Show key headers only | View raw



On 12/03/2015 05:42 PM, Christoph Hellwig wrote:
> On Thu, Dec 03, 2015 at 12:07:23PM +0100, Matias Bjørling wrote:
>> What is the reason to keep the nvme_ns internally to the nvme core?
>>
>> We can definitely move ->nsid and the lba_shift into nvm_dev. Only thing I
>> have is that it moves a small part of nvme logic into the lightnvm core.
>
> It's a structure specific to the NVM command set, and the block device
> use to implement it in Linux.  Similar to how you wouldn't use the SCSI
> disk driver data structures to implement the tape driver for example.
>

Granted. Taking a step back and see how it would look in the 
specification. For that case, the identify geometry should properly 
replace the identify namespace command and extend the controller 
identify with a method to expose identify geometry structures. It falls 
back to that we don't have the appropriate bits in the specification (as 
there isn't a vendor specific command set (CSS) place at the moment). 
I'll rather not (and patches properly won't be accepted) push specific 
meanings to reserved bits in the standard, which then is overruled by 
vendor specific pci id's.

The NVMe and LightNVM still shares some common ground as I/O 
submission/completion still follows normal I/O submissions. The 
Submission/Completion sizes (SQES/CQES), ONCS bits, number of namespaces 
could properly be either abstracted or duplicated in vendor specific bits.

I'll work on getting ->nsid, and lba_shift abstracted away. However, the 
best solution will be to get some bits in the spec and implement it 
appropriately.
--
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/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

linux-next: build failure after merge of the block tree Mark Brown <broonie@kernel.org> - 2015-12-02 17:20 +0100
  Re: linux-next: build failure after merge of the block tree Christoph Hellwig <hch@lst.de> - 2015-12-02 17:50 +0100
    Re: linux-next: build failure after merge of the block tree Jens Axboe <axboe@kernel.dk> - 2015-12-02 22:10 +0100
      Re: linux-next: build failure after merge of the block tree Keith Busch <keith.busch@intel.com> - 2015-12-02 22:20 +0100
        Re: linux-next: build failure after merge of the block tree Jens Axboe <axboe@kernel.dk> - 2015-12-02 22:40 +0100
          Re: linux-next: build failure after merge of the block tree Christoph Hellwig <hch@lst.de> - 2015-12-03 08:40 +0100
      Re: linux-next: build failure after merge of the block tree Matias Bjørling <m@bjorling.me> - 2015-12-03 09:40 +0100
        Re: linux-next: build failure after merge of the block tree Christoph Hellwig <hch@lst.de> - 2015-12-03 10:10 +0100
          Re: linux-next: build failure after merge of the block tree Christoph Hellwig <hch@lst.de> - 2015-12-03 11:00 +0100
            Re: linux-next: build failure after merge of the block tree Matias Bjørling <m@bjorling.me> - 2015-12-03 11:10 +0100
              Re: linux-next: build failure after merge of the block tree Christoph Hellwig <hch@lst.de> - 2015-12-03 11:30 +0100
                Re: linux-next: build failure after merge of the block tree Matias Bjørling <m@bjorling.me> - 2015-12-03 12:10 +0100
                Re: linux-next: build failure after merge of the block tree Christoph Hellwig <hch@lst.de> - 2015-12-03 17:50 +0100
                Re: linux-next: build failure after merge of the block tree Matias Bjørling <m@bjorling.me> - 2015-12-04 13:20 +0100
          Re: linux-next: build failure after merge of the block tree Matias Bjørling <m@bjorling.me> - 2015-12-03 11:00 +0100

csiph-web