Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp610147imm; Wed, 29 Aug 2018 07:53:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZVwpVwukPDJiqJPchLhG11FlQ25928oh6HbjxTAG0NQfFQ7ID9pckFjssBv2hW21BMH98E X-Received: by 2002:a17:902:b702:: with SMTP id d2-v6mr6458712pls.12.1535554383332; Wed, 29 Aug 2018 07:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535554383; cv=none; d=google.com; s=arc-20160816; b=eK6M8MjzSlhiFRCCsMrEksexk2d6dST/3KxMT5d0h65/e1OqK1iVYhrEe945+FJvNO ITN02SWnJrDtlicJXtBnyVWYl1GY9e4z0S+2S+5BGWSWlrzxXp/c9jBIYSg2Fnxtykg1 Q/NoWPP1oT9eSlLKz86Nt4rf2pDzaMvVeuAEu2xtZkO4sko9ocC8c7Ig5ejcfMF2RpaQ Xmhu/LUgAyhAIlLxsJhyAMqgwJ57JGvKDv8YOj3iGj4ZYwR7FHHA0OdqAn0UHLB3Gc99 UR9y4NMvtm3tAyh1EyJC32PMCGA+GHH+zgJ++wZ/7AZ1PhB3P3cBmdjsaeaiJVlWrRDe Y9Vw== 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:arc-authentication-results; bh=egAy/iRC8PrN3bDII/PMlyrztt9TTYY9eJIXQssnq0Y=; b=jSzV28vPxKXa/9tejNWJ7CLnbm0pMzpKdAvzqnaaqgjh4nY0X5Am5m7z6YngjwGdHE tTcLMAILa24RZHMJTsUNEjxq43EpZ5tQbqL79ELw0mUiNoFdFaAEstvMTu1wbCU5djYN Q2p3nDgqsnAmw2lJTLY2M9tRAbSdyrPshgow4+CaCsWYi+Vw078aVJIyw31DNCDXXQpr IvClA4mCAXZX9C1UP3qfbGTFj7oNyMyfELbce+I7tSFsUubOHxhn6qSlVgh3m0DkSlsj yTjbuG3L7VCOfU7LbCSRk+n2tTaD6fLqerLXNAd+4ciiyN/WMmIp/SLUalux5pHWNe5o HeYQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b27-v6si3750527pgm.582.2018.08.29.07.52.48; Wed, 29 Aug 2018 07:53:03 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728962AbeH2Ss3 (ORCPT + 99 others); Wed, 29 Aug 2018 14:48:29 -0400 Received: from mga07.intel.com ([134.134.136.100]:1849 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727818AbeH2Ss3 (ORCPT ); Wed, 29 Aug 2018 14:48:29 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Aug 2018 07:51:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,303,1531810800"; d="scan'208";a="81216389" Received: from shudy1-mobl.ger.corp.intel.com (HELO [10.252.24.102]) ([10.252.24.102]) by fmsmga002.fm.intel.com with ESMTP; 29 Aug 2018 07:51:07 -0700 Subject: Re: [PATCH 0/3] lightnvm: pblk: support variable OOB size To: =?UTF-8?Q?Javier_Gonz=c3=a1lez?= , mb@lightnvm.io Cc: marcin.dziegielewski@intel.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Javier_Gonz=c3=a1lez?= References: <1535537370-10729-1-git-send-email-javier@cnexlabs.com> From: Igor Konopko Message-ID: <106d492e-4f09-7af5-d89a-75c204f3da38@intel.com> Date: Wed, 29 Aug 2018 16:51:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1535537370-10729-1-git-send-email-javier@cnexlabs.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29.08.2018 12:09, Javier González wrote: > This patchset adds pblk support for variable metadata sizes on the out > of bound area. > > Igor, Marcin, you sent a patch some time ago implementing a similar > functionality, but it never got re-posted after review. Can you test > this and see if it works for your case? I did not implement support for > outlined metadata for the case where the reported OOB area is 0. It > should be pretty simple to do that on top of these patches though. > Sure, we will test that and let you know. I was busy last time and due to that I never repost it. I will do this on top of your patches, hopefully soon. > Thanks, > Javier > > Javier González (3): > lightnvm: use internal allocation for chunk log page > lightnvm: do no update csecs and sos on 1.2 > lightnvm: pblk: support variable OOB size > > drivers/lightnvm/pblk-core.c | 60 ++++++++++++++++++++++++++++++---------- > drivers/lightnvm/pblk-init.c | 16 ++++++++++- > drivers/lightnvm/pblk-map.c | 19 +++++++++---- > drivers/lightnvm/pblk-read.c | 55 ++++++++++++++++++++++-------------- > drivers/lightnvm/pblk-recovery.c | 34 ++++++++++++++++------- > drivers/lightnvm/pblk.h | 18 +++++++++--- > drivers/nvme/host/lightnvm.c | 26 +++++++++++------ > 7 files changed, 164 insertions(+), 64 deletions(-) >