Received: by 10.223.176.5 with SMTP id f5csp1692050wra; Thu, 8 Feb 2018 01:44:24 -0800 (PST) X-Google-Smtp-Source: AH8x225iyLbL1aP4qMyi+NdRCm4pb3nA3G2GG/PFkQ8IrSgrtaS5teCjc/R6V5J1d9vt1XihL7Jb X-Received: by 2002:a17:902:781:: with SMTP id 1-v6mr62739plj.411.1518083064398; Thu, 08 Feb 2018 01:44:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518083064; cv=none; d=google.com; s=arc-20160816; b=QrKW04TzGZvXoy9q/cmsOuKUWh4cDfypXjUE7j4gRziKyEK00fKYIDwAmvj03d4Ez6 MXYzloYX5qiiHTh6zegLVb+ND1aiQ2m0oweTFs3MmZBtOMdIbFkosN8WkIHJ89uLAS+W 43rEVO0yTFcO4ym669O1vfrKmu51xKXEwOMhxe29JiCc8TfKXkibo0m7KzMfU9yXfa6M 2+WuvMtUvjdk8ilUGN70q7T2x+EZkTq0c3PJOJ8QFMcoyn2RysNWKPZZkMkfLjgAzI3r zyIjyxGpUKwOdPgPsu787S33Wla/NYV7EjTdkHobe8olM7SXPHoj4Ji0i1XnFPIPG8r1 RuRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=nSBhsaT8DwCDczEoX++lnpK+W1aDDmt08z40zVmA4qg=; b=0HixkLaY0c1+UEtUYfOpSaPvJe1wpj48o1/ZRotKXh+3sYmeDbdLL9fAwAfBRuKUUX ielYYJSKwmVdR5fG0i6KjtOfN7i6nFs5BBhp4kuY5Tz6nJfMe1yybId2Lv1bHwhKcQHd kO6vXKJKAu4NYjiKHXIrHm0IlfQTTfBacYUa12GldHyrQTYaYCcuRfehJpZCZeFTwmjC rzpH+qJe5z3Nmfu6BvZUXbz19+7t+X4gbucXHqPVbvvmQirmYS93ZSW3YGNMu9uGSTjq G/WN12ByYzBmI/b+i5iCziW/Miw8p9PgGqVIEBwYDvIgfsuFgF5whDwhDIDhE39USRBJ s1TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=ukZg9yqd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5-v6si223447plx.742.2018.02.08.01.44.10; Thu, 08 Feb 2018 01:44:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=ukZg9yqd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752227AbeBHJm4 (ORCPT + 99 others); Thu, 8 Feb 2018 04:42:56 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:41323 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751738AbeBHJms (ORCPT ); Thu, 8 Feb 2018 04:42:48 -0500 Received: by mail-lf0-f67.google.com with SMTP id f136so5490470lff.8 for ; Thu, 08 Feb 2018 01:42:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=nSBhsaT8DwCDczEoX++lnpK+W1aDDmt08z40zVmA4qg=; b=ukZg9yqdGxnt0kPhWb3jgqz65O4gPsfTICCrm38A5wjBfWnaQsVBtBqCekLWxefVAy XFnfZ5gXzaRpGHyCWBnMNXS8qxt3y1SzjApyQhK9IGoqh4abOdM2/9MPmtwBoCDlv+qp PGc0b/wipMbNZgxtu9xwaDFPQ+aD+XarAIP5mC/pwWU79XSIwL7KmIqwbwOCqPlyOeUQ kAt0RxHfGn/QpiADo5Dz/Nj6IgUynSXhzAwUihMpy1nK+WNz32BMqCUgPL8hT3NJEaNx P6YEV+bOyQwPInsZ7GgafV0ey96Q6yEU41v2QZhgR60Ji1+DW/xalD8GBwYurInIs7S+ kxvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nSBhsaT8DwCDczEoX++lnpK+W1aDDmt08z40zVmA4qg=; b=UhglzDk/+wuGB4EsexSfp1UfFDgmddjxcfOFIIyMM2zAb2XOPEG8IB5JuIP6XN7vq5 emFFQ3LFeZ9L+mh+A5RN/sXJ8Aba51Vk+/Wam9LZFb/7pELf6FajRGDxr72bcJANdX0l eTXeL4GfDYhYSpMOGijpV5EOoymuC4I5E5bEix7AXytVrwL2gRK+urvKXAspRwf0coRY xyb+uohJcHzyNY2707rdDWBTjiwO1I+8W+eDnjzJ2oCuV4LGhl+Mg+BcTk229wpA/7jn CuicG1rj/6xG0dgfkdtDisU2Qf9EHvCt0UPSqYxCS3zU+AanyCfvESFFhsui3q4yepwR fEHA== X-Gm-Message-State: APf1xPCxvk1Swx4PfefpJL5BsBZa9ohO9rVO+LZ5G53kE792ISzBb/Hb 3fwrMosAzfnF26fRA8cpCPPZ3FzE X-Received: by 10.25.59.80 with SMTP id i77mr80530lfa.28.1518082966748; Thu, 08 Feb 2018 01:42:46 -0800 (PST) Received: from [192.168.0.10] (x1-6-a4-08-f5-18-3c-3a.cpe.webspeed.dk. [188.176.29.198]) by smtp.googlemail.com with ESMTPSA id z4sm715353ljz.20.2018.02.08.01.42.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 01:42:45 -0800 (PST) Subject: Re: [PATCH 0/4] lightnvm: base 2.0 implementation To: Javier Gonzalez Cc: "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20180205121505.27563-1-mb@lightnvm.io> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <8b50ed33-226a-760a-e888-51ff573b9557@lightnvm.io> Date: Thu, 8 Feb 2018 10:42:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/08/2018 10:35 AM, Javier Gonzalez wrote: >> On 5 Feb 2018, at 13.15, Matias Bjørling wrote: >> >> Hi, >> >> A couple of patches for 2.0 support for the lightnvm subsystem. They >> form the basis for integrating 2.0 support. >> >> For the rest of the support, Javier has code that implements report >> chunk and sets up the LBA format data structure. He also has a bunch >> of patches that brings pblk up to speed. >> >> The first two patches is preparation for the 2.0 work. The third patch >> implements the 2.0 data structures, the geometry command, and exposes >> the sysfs attributes that comes with the 2.0 specification. Note that >> the attributes between 1.2 and 2.0 are different, and it is expected >> that user-space shall use the version sysfs attribute to know which >> attributes will be available. >> >> The last patch implements support for using the nvme namespace logical >> block and metadata fields and sync it with the internal lightnvm >> identify structures. >> >> -Matias >> >> Matias Bjørling (4): >> lightnvm: make 1.2 data structures explicit >> lightnvm: flatten nvm_id_group into nvm_id >> lightnvm: add 2.0 geometry identification >> nvme: lightnvm: add late setup of block size and metadata >> >> drivers/lightnvm/core.c | 27 ++- >> drivers/nvme/host/core.c | 2 + >> drivers/nvme/host/lightnvm.c | 508 ++++++++++++++++++++++++++++++++----------- >> drivers/nvme/host/nvme.h | 2 + >> include/linux/lightnvm.h | 64 +++--- >> 5 files changed, 426 insertions(+), 177 deletions(-) >> >> -- >> 2.11.0 > > Thanks for posting these. I have started rebasing my patches on top of > the new geometry - it is a bit different of how I implemented it, but > I'll take care of it. > > I'll review as I go - some of the changes I have might make sense to > squash in your patches to keep a clean history... > Thanks. > I'll add a couple of patches abstracting the geometry so that at core.c > level we only work with a single geometry structure. This is they way it > is done in the early patches I pointe you to before. Then it is patches > building bottom-up support for the new features in 2.0. > Yep, I was expecting that. I skipped that part since it went into pblk and you already had some patches for it. > Javier >