Received: by 10.192.165.148 with SMTP id m20csp3556029imm; Mon, 30 Apr 2018 02:14:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo7dwVeWlgeuofLGStSg9gviGus7rRD9UC/rlfRLN7ieIvluej1mw7CUzERW1DFmbE0aZVW X-Received: by 2002:a63:6883:: with SMTP id d125-v6mr9640067pgc.9.1525079644701; Mon, 30 Apr 2018 02:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525079644; cv=none; d=google.com; s=arc-20160816; b=R7sKNkAIQjuv7gZuaqpA6KnDe1Gar0kw+LK/meoG0OqaAq4UuhtYEL7U0lv5gj8ajA XRAREEwbgz50VMrCjYkOB2psqaLM07oTAX+GUnGVgLQoABzO2m5eXxpy4XByFe37XH+p J2cIOujYBT/IQT2KFtrV/8yd+4mR97fn58BPGCbTMcrCIE8uyaKYKKUOdtD/th3UpfBp 3zVqXKUC0blJ14J5fEjG8SLZeU1JwRAl0PwDUp4S2Dtbup6GbuFI0AZTz94Xgv/W23++ rAz7k8ZMX6HanRcYxITpr2jI4kYPslMITVaBpdxcN53vDGeVo4f8pNAcwVDEECK1Xqxq /XLQ== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=/z2KulK+BbpCYYiDlYSpHP6fGQ0D3cfsxGSXNcYyH1Q=; b=szILI0agkVVCnUnjWW6z4zyP+qtp8Nt+hOCfrlytKapy7lWtRaJDCWdidlut7JMy7P QGSJVZ3Aaw1EnGR/1YJgkFLYa8JRj5xUiszywO2hFcCr66sX9FNRLoUnErr3ySCHwwzp W+WlCaUHJOqESd1ffOqV4BPh/PkFvI6MM3dbLArIQTtfJkMfZ3eAhF42iJiD4CNmKzgZ IKJ2TtDvBg2ZJikcj+0qaFCscNafpGmG6BM2DiGhspkCh3H/Wly/xGH8tvX/uQiAyAIC GS4U5La3XG1U4dPkITmlfVcahy2PC9wQD7qpj0kydntd0eZh/zAAzM4N7mfAH7UWLTIm hfBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=Hqkj0c2a; 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 u71-v6si5922158pgb.332.2018.04.30.02.13.50; Mon, 30 Apr 2018 02:14:04 -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=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=Hqkj0c2a; 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 S1753714AbeD3JKW (ORCPT + 99 others); Mon, 30 Apr 2018 05:10:22 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:52782 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753205AbeD3JKS (ORCPT ); Mon, 30 Apr 2018 05:10:18 -0400 Received: by mail-wm0-f65.google.com with SMTP id m70so11539652wma.2 for ; Mon, 30 Apr 2018 02:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=javigon-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/z2KulK+BbpCYYiDlYSpHP6fGQ0D3cfsxGSXNcYyH1Q=; b=Hqkj0c2a8JSYYj0lLoqp5jiTj61uGCkPv+Fvq8vbhHY8+flmBxl6S08Oy5kcwAlrTo j2v/+oHXC3wGJgEmgMbzgm+BE72AXWkPWMpEuSbcVcEDeZLdQ7SU7YhbrJ5qhcnHgGz0 YluRaqBuuiVV3MMRGQZvetWYL/zJaCLf6aPDgb1f8yFqg8s/xINIPMsGME1hoBYfnTeT KERJ9Gm8SKtw7iNpoIeXZ5D2dRfG+JhY/KD0Agryx4kiq+Xb9Nb5Y2014d9lbS3k8YWV abPV09kB+OL4Fy/7ixK2NNq/qR5MjbHyaLTQf7mDmFVeJTeM99q4rMfnegOJCeQcGh2G wAuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/z2KulK+BbpCYYiDlYSpHP6fGQ0D3cfsxGSXNcYyH1Q=; b=Wl9MBODRIIZQUmfXKeSbNzCkq2l5btI68cdcEVuXgWL72IV1ntt0cO6CjDsVt1uQVS rkjpgV8qDRI3pXmah8I9zS/R8nwXKPOenZeiFjLDXnHz6D5xO9lkcmYyuIjkMh0A2Vdb fQhPX8V9iyt+fDn3JxeZHSRobYc8OzSws2O6Q3rZiszfu5akGmAYIWQExH5+++xuA2Ia CgYCw6P0/3o42yJXar0kQVDtozZkBLlTX1wgfVZOV0v7cXg/P16SDH5/EmNWl0t94+er PRAc6PMPVjjq2+i2h2yPTWVwAkUEDKJtrvndch7CaXpmaWE9Tfc8HEzfsM+6m4poakgX 6hYw== X-Gm-Message-State: ALQs6tBT3sNKTcnpwBfW6MB/M1C2Mqy1Pff+83vIyEmuVexzbzjwbXfe nycjI5aaHlw/t6oF97MAnzBJqt73 X-Received: by 2002:a50:8085:: with SMTP id 5-v6mr15570428edb.257.1525079416833; Mon, 30 Apr 2018 02:10:16 -0700 (PDT) Received: from uhalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id b56-v6sm2108638edd.85.2018.04.30.02.10.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Apr 2018 02:10:16 -0700 (PDT) From: "=?UTF-8?q?Javier=20Gonz=C3=A1lez?=" X-Google-Original-From: =?UTF-8?q?Javier=20Gonz=C3=A1lez?= To: mb@lightnvm.io Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= Subject: [V2 PATCH 00/11] lightnvm: pblk: small fixes Date: Mon, 30 Apr 2018 11:09:58 +0200 Message-Id: <1525079409-6588-1-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.7.4