Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp452247imu; Mon, 5 Nov 2018 03:42:44 -0800 (PST) X-Google-Smtp-Source: AJdET5eoo7gomp2kQYIk4LV8IHgDpApUCsbmkac6vPfxfIaoUJRt9hflTZclXSYybRFzAPUO/ZpN X-Received: by 2002:a17:902:45a5:: with SMTP id n34-v6mr22148877pld.341.1541418164326; Mon, 05 Nov 2018 03:42:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541418164; cv=none; d=google.com; s=arc-20160816; b=SZUsQeKPH8WGgBjlOo1zFc/ynNUtSq0U95LPOsgKHPSYgIL9ILfkwfXhYkNJQ3O77X E/BXOFr1yxyhChbBuwRjAoFFneBDE/fxUVLrdt8FEZZQDvuM8WmdNsfbvla35xtrtXiH g91dAlWas8MpwLcj0cB6d1mMY9HeUK7Jj5zK9ZrasSBr6C/yTL1fjTlSCtzJeBhnbFw4 Ut9hJCfmtGDwReEvXhhJY3iDlLNTW5QR1izSUUGYH3AuhwpIH2R0hUwzBI+LiX9xWY/v s6A5RCKRRFIgImTdqYjybqIQDumbqE+nM27Ew77doOYcS0MUq8tsHm6r7XHQryZSRSL6 XWfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=k6QTiGprAgQRCextATqUFgSWVx4ot42LkiK3YA4/zpU=; b=MgIlXNNg5dI2LXAWkgz8K7lIbyLmWLiCWst4s54chAVk+pOfUeIih9H+4V+xOoUBdI Qd+D2HSrKQFyme8/aQsQCGxv0vnGx9WoNpeJ3z88jV8gabFD5oT09aV9VAwko5tGHDh+ s8C1LqjV0RHy5LDk2gfPAESTS2ybFOS4xRYDq8DI36BWV815AEKP4MtP9BPU2tnV0Hn7 UjsSn903G/l64HKKp/4FFqBVDqdWAdzuhm5JJ7VoZXF4mBEGiHfx6bZpIMaQVlfN95l/ We3Par2w4fZxhuHB7s/HLDfYUR0PipDnrrvBGvYkLMgTnbXEFCXrw9+UJdBSN1kpM/wr XWmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=qqJ5GxO+; 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 d12-v6si43677708pga.81.2018.11.05.03.42.29; Mon, 05 Nov 2018 03:42:44 -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=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=qqJ5GxO+; 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 S1728961AbeKEVBV (ORCPT + 99 others); Mon, 5 Nov 2018 16:01:21 -0500 Received: from mail-it1-f174.google.com ([209.85.166.174]:54145 "EHLO mail-it1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbeKEVBV (ORCPT ); Mon, 5 Nov 2018 16:01:21 -0500 Received: by mail-it1-f174.google.com with SMTP id r12-v6so9395927ita.3 for ; Mon, 05 Nov 2018 03:42:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owltronix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=k6QTiGprAgQRCextATqUFgSWVx4ot42LkiK3YA4/zpU=; b=qqJ5GxO+o9qlE8zxSO3v18w/UxIMyo/NkXVZL0/gy9csP6HqnDRmg6pVDH9qci6GTI EkCw0dsj2DTkNtMJ6brK4OlKGBopCc2a8tsZrRQEmKUyVJZrvvX2mr7RAEjQWvyeftZd e9eauclIN0+25W8XT+BpCCcfeZJtOuwIJz/Y6nGBlAsOEP64d2CkpTiNxlS7KbESiv4x cbWaFrvHzmUoiqQ+t5ZDQ5PW5SX6Ak4RKBEoiepdeaQ////FYKU7AfpnhzqFj0Jwk9lO mk9FGg0IMLmu+CM9wAbATzJDgervedzp9J1NywdBoFSCjZWgM60kS8giVKmXHel5nzVN V4FQ== 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; bh=k6QTiGprAgQRCextATqUFgSWVx4ot42LkiK3YA4/zpU=; b=aRH1LitOevJ5cwhTI1qShbOX4DNWydfIzNW/ZOXtA9hDanRZT4DrFW6NmrFn7g1jkT yrfM1FgeYgkZhHGkHzpsIQLWcDMDHWFXbYA/S1dZ6qWHD1hSnlxLTPsVtm0lC8h016tZ xRTnNj8RbPfIungSJfEw2t+7GMem5UbfsQQ+IgzFjLGQltX5uPjoVLSNxrp4Y07ifnAV Joe2ux3utmk91ofWMgcGF81gn3YjlvBUl7WvJTreaHT2mygZ15cGLWP3o+9HjbIMR1wc DiUW2by/mhe1423Se3ir0vcCoiEu0B0cUi2t+9ZOuT1CNxlqwFAgGGbK6HyFf6WMty6z NGqw== X-Gm-Message-State: AGRZ1gI5FLxNntZTGWVwNobGHWtAOr1ekL+HM8E1uctLs0GDZseucd8r mH4yT/SisNPh7DCP4Ycj9t4R0g== X-Received: by 2002:a24:d703:: with SMTP id y3-v6mr6795531itg.154.1541418122185; Mon, 05 Nov 2018 03:42:02 -0800 (PST) Received: from ch-lap-hans.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id 186-v6sm14880824itf.11.2018.11.05.03.42.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 03:42:01 -0800 (PST) From: Hans Holmberg X-Google-Original-From: Hans Holmberg To: Matias Bjorling Cc: Javier Gonzales , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Holmberg Subject: [PATCH 0/7] PBLK Bugfixes and cleanups Date: Mon, 5 Nov 2018 12:41:06 +0100 Message-Id: <20181105114113.30932-1-hans.ml.holmberg@cnexlabs.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans Holmberg This series is a slew of bugfixes and cleanups for PBLK, mostly fixing issues found during corner-case testing in QEMU. Hans Holmberg (7): lightnvm: pblk: fix resubmission of overwritten write err lbas lightnvm: pblk: account for write error sectors in emeta lightnvm: pblk: stop writes gracefully when running out of lines lightnvm: pblk: set conservative threshold for user writes lightnvm: pblk: remove unused macro lightnvm: pblk: fix pblk_lines_init error handling path lightnvm: pblk: remove dead code in pblk_recov_l2p drivers/lightnvm/pblk-init.c | 48 +++++++++++++++++----------- drivers/lightnvm/pblk-map.c | 47 ++++++++++++++++----------- drivers/lightnvm/pblk-recovery.c | 1 - drivers/lightnvm/pblk-rl.c | 5 ++- drivers/lightnvm/pblk-write.c | 55 +++++++++++++++++++++++--------- drivers/lightnvm/pblk.h | 16 ++++++++-- 6 files changed, 114 insertions(+), 58 deletions(-) -- 2.17.1