Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp497940imu; Mon, 5 Nov 2018 04:28:55 -0800 (PST) X-Google-Smtp-Source: AJdET5d9FqJx19Y3g41YHTlDTHLyMt2i2a3DHD7Q5Y23YCVgHCgJwT5fI+q1pWj0Bmbm1KXNhBEn X-Received: by 2002:a63:585c:: with SMTP id i28mr12371092pgm.178.1541420935224; Mon, 05 Nov 2018 04:28:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541420935; cv=none; d=google.com; s=arc-20160816; b=xyuM/IL/KPZ0tA9U227w6hpDCj/J0sQUWpsweZDrmYkfesJZgOsMZxkHaOdCFj7AdF /SxG/D7JXZ56NcQMf1X+FoVWSfWSZH97WTvm8m9nrHn0Hno9NHzqQ7fTnxrpiYs39Sti e4jYMSWIBBgATQO2sfwNXZlK7ncKV8qyuUUZTYLFDO+cvYTEoCtGFZ/V2JaorYdKy6Qf d3i6kDaq5uYMhswGQNatKBbl6IIaaGrtStrccfWCYGlDcveFImVUbpoxGgb79pOvDq8G g/OsK6GJyVvwZFhxI9w0FsDqW0isY9/bOTv76/qAvW9dLOxea8FLTDKOSvvK3J64KYgt gZzA== 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=4oWqVd7aJitPmc1BR7PgpfQzZ7u//yDgTqBlN/OETIM=; b=TTWtLapkP574mlHkid3bBLfbtF04jJhoGSQG2u2Q0I/t+gaMkeBkS2FSKtUClTb8lL Qw9TR8xmrBKMcRjknj9dIntPVa7bAMpg+KFNJ49SBj0Y7fxIdgcPjuYTrl/enveWZ0xV hHIkjNa8ljd64DpUiacgcrKRXH/jwLULRmQvHaf0epkhamdFeHfNvb/XiNIBbw0UYD78 ctHOaYuKz3TMdP+vFiHrUlbkfDPiJXyuDdDJhFXIJaWeQPJChMOulDWj++iqbTR/5PR3 m/gAWmOuGzxPUqR79RFLcjEv4GukQYJyl0TBKcW7LD+OX/qGS2iLD2geygz4Wxunt9Af d5Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=Ov3ADJYk; 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 f189-v6si6935399pfg.84.2018.11.05.04.28.38; Mon, 05 Nov 2018 04:28:55 -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=Ov3ADJYk; 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 S1729336AbeKEVqO (ORCPT + 99 others); Mon, 5 Nov 2018 16:46:14 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:46238 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728870AbeKEVqO (ORCPT ); Mon, 5 Nov 2018 16:46:14 -0500 Received: by mail-ed1-f67.google.com with SMTP id f8-v6so7263690edt.13 for ; Mon, 05 Nov 2018 04:26:43 -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=4oWqVd7aJitPmc1BR7PgpfQzZ7u//yDgTqBlN/OETIM=; b=Ov3ADJYk/K77dlLlmkaOga/TyP8Dx7N08HmrLgyi5/zkGKygLKzGOtCqYkRSPLXOxm riIOaPElXowhkQ5qVJUznqDP8XdTpH0t2jhLH4a+96xAOyJlbZp+ZzdUKGZvFxkMOhoW eomR58KFiZ902YooStvPJxXScT7AVgu8ObAZb19T6F5NWb2aTN03GolvrmN0U6qW4RLH +hLab6z8or0WChuG7ua3ocUy7BdU2gbySncJM2vTLVDbGo6Mu0Ad0fDcrShxS0zdOunp 5a3ftbnO/YH+EgsZBrZQ6jld7ZvthuCmAGxAjoZQa4c0ClZ7Wpwvofp3on1D4Hr8akod 0nuQ== 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=4oWqVd7aJitPmc1BR7PgpfQzZ7u//yDgTqBlN/OETIM=; b=miXzuxpzzoWE6kg0wogaT3k4BFwbbQo9ed1pQ2VbxGAqZDQh5kfxoycj7392z4Z78Y Ew8Usqnmu+S589+O0rkLkXfI3m4yj/S9K054uF8nXX3pqb1hRUj2de28mrpWqW5SYONR PMr8VW95elUl6sW+Guks+/TGy0ObiAVeAy+QzaJgtpVOu8Nn6U2Gt5CVJ9JOE+/Pqd1a vbGuPuuczT6KQPfa5b44kMyLRYEeGHawL8bHauzr6qiOnZziY1eabI0lXX6dMnMGSHDv jREE9jHDrmKWXEzjsWenuOJn1DI5SRbAAvbM2xv698WQFAtvYUAdWSXggAveMDfpYE2Q zetg== X-Gm-Message-State: AGRZ1gKEJLKGUfiDi/gLaW5wdIKIz5qzraQ1dfNf23dmnDznuoOd15Wa ujBjpIvmiXOb4BiSJay8ktzz2A== X-Received: by 2002:a50:f396:: with SMTP id g22-v6mr18012230edm.110.1541420802956; Mon, 05 Nov 2018 04:26:42 -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 9-v6sm7046056ejw.46.2018.11.05.04.26.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 04:26:42 -0800 (PST) From: Hans Holmberg To: Matias Bjorling Cc: Javier Gonzales , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Holmberg Subject: [PATCH v2 0/7] PBLK Bugfixes and cleanups Date: Mon, 5 Nov 2018 13:26:03 +0100 Message-Id: <20181105122610.1555-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. 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