Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2168797imu; Tue, 6 Nov 2018 10:04:35 -0800 (PST) X-Google-Smtp-Source: AJdET5f1r1swk7L8A4wH+eO+V7UqXzex/SMxL16tSnMXAQlfvjqWjxAdF5or4G+g/vKIMhGXWXMk X-Received: by 2002:a62:5cc4:: with SMTP id q187-v6mr26945595pfb.47.1541527474992; Tue, 06 Nov 2018 10:04:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541527474; cv=none; d=google.com; s=arc-20160816; b=b37vj807pIm3QoPQrUGWMKn86FkV8oaBrjLiEutV67J4ShNviNs+/97c62nydpPCUq gadQgVzUUsMx2ZA1z+iGxc5+Ui6JyzuWR8kQIUXRjyBLnas5Ju2vGGBYIRYGqcEfwcUw yDZjg1FOw5YwR+Iz+5kHby9Wml2ZPUoXktPsjK2vR3kTPwYrHOktjv0E5xbKxQZctHN0 npIQv/PHBIngHfXY89hgSvo5Jo6R3UXsAJqmU2mTtR+WLupale+VnnsUv3+3hj1pMPob Y2ctoub5iM2Ka9UT8E+/CJ/RB+jgfpLK8kGbqAf7z3pO74aM6O0hdoF44jpquIqB8LKT DTaA== 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=56kHi9j0wGZevuI7rRWeoo7guXBMz/aip8CvDcy64JQ=; b=z8Mq/WI59vPn69gLP3bf9BG81LRipUxBwk3NH1hxrVi+Xw+6MXcD2HntOMVxi+UxxU DaXfs9KXCh6uIf9E47yN9Z4eXPUP9/44FOUasenYO3oFYtou3aBa2W4LQAm5wwRv+cQm H4g0Cl5vB60XSr3CvFUUR0QQHN81MfHVx79ozTIw4qxN3ZG/9w12Qq9zx0WHCYLI5K3y n509DubYd6DzHs4f/qFk+X/WqWagTXx9ozzc6FVv8zWF/3AYtZ3xOs0Y0ZyopKmzrtRY AmbbRfpSOWypAeOe3zKn17h/xp2czPSbfC/Va1W/tDf6XksnqjwmkHPa1atOWvBvu8gA Cm+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b="mpe0M/nw"; 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 13-v6si36961955pgv.104.2018.11.06.10.04.19; Tue, 06 Nov 2018 10:04:34 -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="mpe0M/nw"; 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 S2388299AbeKFW6y (ORCPT + 99 others); Tue, 6 Nov 2018 17:58:54 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:36716 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388111AbeKFW6x (ORCPT ); Tue, 6 Nov 2018 17:58:53 -0500 Received: by mail-it1-f196.google.com with SMTP id w7-v6so17603422itd.1 for ; Tue, 06 Nov 2018 05:33:39 -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=56kHi9j0wGZevuI7rRWeoo7guXBMz/aip8CvDcy64JQ=; b=mpe0M/nwQOPwzTv+tCJvTqSaFX1cuSkXyoKrANyw6wHzWkmfis0FDaDvNMuEqp5ac8 1RWOmOHrts09vZcEYlmr/EahhAXMIhbI+Xn23i3y4xdupyW2x+Ou8ZfgesAa4NHRctyN o19JMeKJ/BbLwuPAmwC66NNQXuPbOym87dpFxhEwnl3Fr5LI94BcT16E/RULFvU8V/7h w8kz6l6jDFAh9JJDyTly1M8BpZwjfTVwP4qVBFiTlCICpngKERt18qwTBlg35ja623Oq KkTtTHD2BD2+9IBb05VYy0WJK/fxOJBnSOGox+jLy2k5+kWAOZjrOTFG7FROEa0C3/qG 0eIQ== 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=56kHi9j0wGZevuI7rRWeoo7guXBMz/aip8CvDcy64JQ=; b=qOvLCX3kKB+01cEgdDZSKQbUuHJ6EzMlvBXtQDjgJEYCypyTv4vpsZL6hWYS35fO6y vCPkCYZaHu/fkGahQ8q2oyNB/HjXu167PWAOIh2LXVQu0l4DGnePbPn2aarVM5/oka/F c56qNatQ87NbGRdMRS8j+ctuDx4KIsaMd7Jli8XgfjcxNAVqmM7FiFhXpw3SUfqyFWyS dnpYf9iLSpqB/8UotlYDhsDj1J2BYPDgAGA3Kj+R6+h7wWnhsfi7yijrKV7VPpWIQ21d Yx1BZxj+CHBk0U9mRAkbG5EC2SqJyVZf1zeRESjwZC2gzQGXRXLUCqlo+Rlt8MnrOHWz lPNg== X-Gm-Message-State: AGRZ1gJiolFE9RWhYlH+eCIrvEDoxSJJ3WhHorbHUBlfD6wvY+ycNqXw 3wSxxRhLEyv7t7rDcJEwYkm5J2WeeFJaww== X-Received: by 2002:a02:3545:: with SMTP id y5-v6mr582649jae.7.1541511218609; Tue, 06 Nov 2018 05:33:38 -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 u132-v6sm897282itb.21.2018.11.06.05.33.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 05:33:38 -0800 (PST) From: Hans Holmberg To: Matias Bjorling Cc: Javier Gonzales , Sebastien Boisvert , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Holmberg Subject: [PATCH v3 0/7] PBLK Bugfixes and cleanups Date: Tue, 6 Nov 2018 14:33:23 +0100 Message-Id: <20181106133330.26570-1-hans.ml.holmberg@owltronix.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. Changes since v1: Messed up from:, now the patches apply with the correct author Pardon the mess. Changes since v2: Fixed kbuild reported issue and potential divide by zero in: ("lightnvm: pblk: set conservative threshold for user writes") Fixed commit message nitpicks reported by Sebastien The patch-set applies on top of: remote https://github.com/OpenChannelSSD/linux.git branch for-4.21/core 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 | 45 ++++++++++++++++++-------- 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, 116 insertions(+), 53 deletions(-) -- 2.17.1