Received: by 10.192.165.148 with SMTP id m20csp3064867imm; Mon, 7 May 2018 06:07:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrLXzSzVCxG4uwQi5yR6XKzkA77oiuAkEk+yCP8now8sIaGk3foV+zgS+01RXepBvQvMxbK X-Received: by 2002:a65:520c:: with SMTP id o12-v6mr10498960pgp.178.1525698447771; Mon, 07 May 2018 06:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525698447; cv=none; d=google.com; s=arc-20160816; b=kfPTxoiNpFM2iWIyyQ7XxDG2pDlhIpAuD/Rf2RwghE/ffbZ95ORXl0SlGiLl2Z1l/8 uEbxDC/yQ0fb6pdJRfjMNSl95dBw6dssY0HvJzw2dDHSk46qE7hNzDSH80AnVaZJTNmH DhzOQUoX8KLIy7al5PjR1AT23Ox/aMANdYH54w+SRc4L9mU2PKtd5RaTyPNA8IOGMeg2 jme8JxTxuo3Gv7z5++vE4ql/7H23Qm/+LB74SbrNHAEOgyMOTwLaKpyxwlUcxVJ0TIO4 qS3vai5lk5amShkJGLpvLFpgWor+lodAhd27lj2X/HulWdUe1REZPr8WSevxxYvKgiaE A8rg== 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=gNRclgsoSrAJXhgEwhtiX5MX2rVauSf37e2v72+9r0A=; b=t4apEvXfVzWrLhSorqKHuZJ+ShZNv1wNbeAnr3s43c5peuyCg/lkma4bblvM5a1s7m 7y4Vcb4wh88g9WFCCE4RbitQ8ARm8zM/ZDojn1uw4y/SXPg8nTIl6VUC0v0K1NWxYBIR Zk2bQHSo9XTF9oDFB+CBjNLtySdzN1gZt/2aQr/NUloE5kbFzOgZXQaq6XzrcbWykUMS fuVg0hYt9lVbHxJtG8SfiUMxwplW2nMDWvGMljqyUJ3y1HO1LK+IoixWiFcSYZsDtsKg o8tt4PSAkGpdZ+t9GVDC+i+4L/D9rurrv5uziziswM+JZoByJTfqM+k6hILNQ1qRwiFP G36A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=oSSZ56RB; 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 w23-v6si21972685plq.214.2018.05.07.06.07.13; Mon, 07 May 2018 06:07:27 -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; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=oSSZ56RB; 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 S1752082AbeEGNFZ (ORCPT + 99 others); Mon, 7 May 2018 09:05:25 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:46837 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbeEGNFW (ORCPT ); Mon, 7 May 2018 09:05:22 -0400 Received: by mail-lf0-f66.google.com with SMTP id x7-v6so5487190lff.13 for ; Mon, 07 May 2018 06:05:22 -0700 (PDT) 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=gNRclgsoSrAJXhgEwhtiX5MX2rVauSf37e2v72+9r0A=; b=oSSZ56RBaLfm0nBn6G9JQSjNxKH53cGIJZOIpyOBxJdBu9xNxZcncXAdEYFEtWsBxe 0RHh5JO7rpfzvZFtvAUbHchQdJkMS+IbMRduD6g1zAZWPU6f6LJV2PZi/Lndh2mXtAav hYH4HCF5gpNSUouwBuqF4BJFtlQgFXbtnkTEktb0typ1sGeI+iYIkAwuLHd2MQgljLBe 5/VnH3UiT4x7kKey3bRYr6ZTi8elFBNSSXVIGumbFUuqskDE+tJCLg95sNhkWximUS2t 0xKz6+onUtgc7PJL1Q4SMSj9a1FpqGb8ysCC4QH1ZQwlKsMt3x0gbJS8NFVdQWoUHqen KAfg== 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=gNRclgsoSrAJXhgEwhtiX5MX2rVauSf37e2v72+9r0A=; b=VwGAXMKKcHpQsC8NCL9W/z/4+gc2cXP5AYF2EQB0l5LXT9eobGbgsAE+8ba7aRlBDe W5++xqN3mQGdaj246EtuYwNNtpTkKa7Z87XsFY/Sy5FZCT42cEWMnduZ+aiDqVuPOKBp 5H7Rwqnudg8JdJT6aOySVmmG40ofyCXDfmLec40oN/J/3kyRYZh8M8UtkkKLVsOHXMJU Qy2y9my8aKjpHxivNlp9ikwFZNHMqqfhAeT6VHc03jI9hoGCthakTEiqvBUYPK+ABr35 eudKr9PdTcAtLhMw8VrLhZiwREcuEwbmkaXhk+0slEr5bMBGQ+rCHDcHchN1WEr5j0Vb DIoQ== X-Gm-Message-State: ALQs6tAv+FW+uer1Tpsw80rCzfKX09WaIIO+Mouezw99JseirtC+HGvx aKdXZwfuhF2GEek2qe4Irc1Yqw== X-Received: by 2002:a2e:997:: with SMTP id 145-v6mr10540021ljj.46.1525698321392; Mon, 07 May 2018 06:05:21 -0700 (PDT) Received: from [192.168.0.10] (95-166-82-66-cable.dk.customer.tdc.net. [95.166.82.66]) by smtp.googlemail.com with ESMTPSA id d22-v6sm4281884ljg.44.2018.05.07.06.05.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 06:05:20 -0700 (PDT) Subject: Re: [V2 PATCH 00/11] lightnvm: pblk: small fixes To: =?UTF-8?Q?Javier_Gonz=c3=a1lez?= Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Javier_Gonz=c3=a1lez?= References: <1525079409-6588-1-git-send-email-javier@cnexlabs.com> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <5f93b0a3-cc8e-0c16-d01f-c3c1fdf5642f@lightnvm.io> Date: Mon, 7 May 2018 15:05:20 +0200 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: <1525079409-6588-1-git-send-email-javier@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 04/30/2018 11:09 AM, Javier González wrote: > Changes since V1 (from Matias): > - Improve commit messages > - Fix error code on read path refactoring > > Changes can be found at. This includes this series, the 2 extra patches I sent > for pblk and Hans' write recovery on top. > https://github.com/OpenChannelSSD/linux/tree/for-4.18/pblk > > A bunch of small fixes and extra checks for pblk. Non is critical, though > ("lightnvm: pblk: check for chunk size before allocating it") might be nice to > get into 4.17 as it is a fix for the 2.0 pblk patches. > > Javier > > Javier González (11): > lightnvm: pblk: fail gracefully on line alloc. failure > lightnvm: pblk: recheck for bad lines at runtime > lightnvm: pblk: check read lba on gc path > lightnvn: pblk: improve error msg on corrupted LBAs > lightnvm: pblk: warn in case of corrupted write buffer > lightnvm: pblk: return NVM_ error on failed submission > lightnvm: pblk: remove unnecessary indirection > lightnvm: pblk: remove unnecessary argument > lightnvm: pblk: check for chunk size before allocating it > lightnvn: pass flag on graceful teardown to targets > lightnvm: pblk: remove dead function > > drivers/lightnvm/core.c | 10 +++--- > drivers/lightnvm/pblk-core.c | 86 ++++++++++++++++++++++++++------------------ > drivers/lightnvm/pblk-gc.c | 10 +++--- > drivers/lightnvm/pblk-init.c | 38 ++++++++++++-------- > drivers/lightnvm/pblk-map.c | 33 ++++++++++++----- > drivers/lightnvm/pblk-rb.c | 5 ++- > drivers/lightnvm/pblk-read.c | 75 ++++++++++++++++++++++++++++---------- > drivers/lightnvm/pblk.h | 7 ++-- > include/linux/lightnvm.h | 2 +- > 9 files changed, 174 insertions(+), 92 deletions(-) > Applied for 4.18.