Received: by 10.223.185.116 with SMTP id b49csp4072306wrg; Mon, 26 Feb 2018 10:36:36 -0800 (PST) X-Google-Smtp-Source: AH8x227D+pCpfRLvEUH4jKVk31MFajlgk9SW2Ikwdgo4cr1xD9vOL2bQGkh//u7Fd7SjQAjhif7Q X-Received: by 10.99.132.74 with SMTP id k71mr8981139pgd.4.1519670196322; Mon, 26 Feb 2018 10:36:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519670196; cv=none; d=google.com; s=arc-20160816; b=inBpMGhTzjASjaiYExizC7q6g6WOqTo6PjoQE6hXQ1AlYRwspczMF8PBmYsa2URAeB 0A1J36o5LMysOyXTOoQh6RNg9XyH5pBNkCgW0tRT/oADSoTvV0Z+5KLKN7+5rDhNSfp7 WT/SlsRd+MlBObHb6h2h6pQsoF1KDb+SM8Ra1/bsVXw7lIGkckI3uYMGOnkAWckdlTKY lh0cYjb0cDmeSWOYssDbqQKQDqtf1n8ijrX9IwQIXc5lA50KfqEYAPs7xlmx4xIzSWTX DPv+I5coHLL0l6ITfXaiHQFB17lfBiBKtKj1pm2UljkZ7ZZI8Sv+//jVu+HzCNKEN7ko kPag== 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=qCsizanMK1758NF08INfbNfZGnV+hu19Ar7xfDdWYYU=; b=Z9myhjx5K4P45D0ywXiXMwE7nwy87MfhtoDeGBbtlBwF8rL4F/itJlBv03RIWis7iL N6Tr1a0nhwsJBstkPKRsoyVT0zynvTNWQjHWYZlLP19eS3n0J+EuEN67mLzE73Ey+PVH jpOpx1Mtnsgi+Uz2eppbSMrC2fbukloiVKTKLXwwWdDx6OF2zrXwndD2QuUkR2Ly8BHq K4GKXijY4U35QwPaR+momCQtal7nQugMRuOkj402/e06TR61g3u7qm4SgRSRs1fMlQRo 4EP30RSckpwXwdRRG0tp2UYhGBSR86LJb9n6Zx3rdgOnRFyyG5cDWHw7VHjA863d9sPy JKnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=LUxafBcU; 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 j184si5888234pgc.142.2018.02.26.10.36.19; Mon, 26 Feb 2018 10:36:36 -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=LUxafBcU; 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 S1751589AbeBZSdq (ORCPT + 99 others); Mon, 26 Feb 2018 13:33:46 -0500 Received: from mail-lf0-f46.google.com ([209.85.215.46]:44827 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069AbeBZSdp (ORCPT ); Mon, 26 Feb 2018 13:33:45 -0500 Received: by mail-lf0-f46.google.com with SMTP id v9so23694628lfa.11 for ; Mon, 26 Feb 2018 10:33:44 -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=qCsizanMK1758NF08INfbNfZGnV+hu19Ar7xfDdWYYU=; b=LUxafBcUTUhC82QFjXeqLpoQz5eUsOJ/gY2O+59LH5/G5m/ODzJ9pH5s5KOqE5J4A+ uZpb/Zsc7Va2z9QSH6F4AbXrmn5293isM4oXvF25WE1stTVkNxJcHPNuwf7IW8yMxe1y Ba/Kb24ZlfDQwtHlF+4UjNiIWe4C137L8wjp+pI3l9C9BG3vYe1ibztfmrlZhOudOLno r5NIGBYw4z6H2Twgxcmgr+G20SSvgMykfXmNLdJkf0TaE1G08jtVJWhdLe/T7PR/oXPQ h/EeCeUvprEY225Lqa2vbqdb3QfjdgJNb374MBkmeuPTdkebbuPwAnV9gcasGIraT5v4 f4KA== 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=qCsizanMK1758NF08INfbNfZGnV+hu19Ar7xfDdWYYU=; b=ECJEZfAZeMTTDJHoNYK2+Whpp1x6sin1AyjHNVU8GbjiLDFkgazmDAdcv1mmTwW7YS zntIWcKxvXHj7/ch4SEkGrUQZ7MKAvL4jMCHKbRq9O9VfxLHiRIsdeUhJlbec0WuWB96 LfbiVGdT/3N/kGeHj8HXFfy1g2enQOCL8/DAhOdYGV/wlkV3/rP2RxxBEDfgKWq988P6 XFzo5z8iEtazX79R7CEo1cylXiYKttrp8r4iwhGYWwBWjzU3WG8taHGFFNVbd7RhB4hg dT9o6pxwpcJ8/tz/ma5jJ+cIPqE7/r3IS1nCjcmRz0y+7/FXgAPuPzd0v6hk1pFBjyQ4 ZLGQ== X-Gm-Message-State: APf1xPBNKv/vgFUca6b6m6RZgmVIVwuXdTlYqE2swStuIThs3LUI8PiH 8qpg4DG/fjQJq2ggN7u/OOYB7g== X-Received: by 10.25.76.9 with SMTP id z9mr8210839lfa.141.1519670023981; Mon, 26 Feb 2018 10:33:43 -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 30sm2117561lfw.57.2018.02.26.10.33.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Feb 2018 10:33:42 -0800 (PST) Subject: Re: [PATCH V3 00/19] lightnvm: pblk: implement 2.0 support To: Javier Gonzalez Cc: "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-nvme@lists.infradead.org" References: <1519651038-16845-1-git-send-email-javier@cnexlabs.com> <93f1a727-55bf-ff7c-bc05-70cc9f5f9f27@lightnvm.io> <87859168-A64E-4FF6-9F7E-174A903704D0@cnexlabs.com> <398381af-7c17-4e57-1d07-f50051c05430@lightnvm.io> <49DA8C17-0960-4EBF-9FA7-364DE5EAF405@cnexlabs.com> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <8ef84882-b847-2b2a-7e63-a7203e8531ce@lightnvm.io> Date: Mon, 26 Feb 2018 19:33:42 +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: <49DA8C17-0960-4EBF-9FA7-364DE5EAF405@cnexlabs.com> 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/26/2018 07:27 PM, Javier Gonzalez wrote: >> On 26 Feb 2018, at 19.24, Matias Bjørling wrote: >> >> On 02/26/2018 07:21 PM, Javier Gonzalez wrote: >>>> On 26 Feb 2018, at 19.19, Matias Bjørling wrote: >>>> >>>> On 02/26/2018 02:16 PM, Javier González wrote: >>>>> # Changes since V2: >>>>> Apply Matias' feedback: >>>>> - Remove generic nvm_id identify structure. >>>>> - Do not remap capabilities (cap) to media and controlled capabilities >>>>> (mccap). Instead, add a comment to prevent confusion when >>>>> crosschecking with 2.0 spec. >>>>> - Change maxoc and maxocpu defaults from 1 block to the max number of >>>>> blocks. >>>>> - Re-implement the generic geometry to use nvm_geo on both device and >>>>> targets. Maintain nvm_common_geo to make it easier to copy the common >>>>> part of the geometry (without having to overwrite target-specific >>>>> fields, which is ugly and error prone). Matias, if you still want to >>>>> get rid of this, we can do it. >>>> >>>> I do, the variables should go directly in nvm_geo. Thanks. >>> Ok. Is the rest ok with you? >> I'll go through it when the rebase is posted. Most of the patches is >> dependent on the first patch. > > As it is now, it will be basically %s/geo->c.X/geo->X/g. If you can look > at the first patch now, I can put all comments in a single version more, > instead of going through one extra cycle... > > Also the variable dev_geo -> geo. I'm good with just getting the updated version before posting the full patch set again.