Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp506986imu; Fri, 9 Nov 2018 01:08:57 -0800 (PST) X-Google-Smtp-Source: AJdET5crcRnmX/Awq0Et/pWhDvZRQ7oNONfN+IoliFJcOwbLs2dk8iOs82/X1zPvONqV5BwyiwQU X-Received: by 2002:a62:a5b:: with SMTP id s88-v6mr8451212pfi.136.1541754537608; Fri, 09 Nov 2018 01:08:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541754537; cv=none; d=google.com; s=arc-20160816; b=KL/o+ieqr+9Cgl0vr3hvyLVvzRRqeYvQRt9XRgdsB/eEx39y1SIdmc7OPIe3efZUae Puqa6KPOjpm2jzaBp7sBSTDPXxGDZLm2nlKUst9nOXVoEw9CFvEclL8QY4vhJIfWI4DJ 9xjpYAj+NSafYF62u24OqddWCBeQQQsllbHw1OxF1W9jmqwiZGxr122eUqwFTsYbEeOv C7kmL0nS8X4+k9QCkiMj9Hm2fQZyQsjWgDuB2n1+9b8caq5Ct8WOfditzxv1FKuK09S4 NfM60bOOo3ra+dFrxbjuOaDajBEGjcZcII8aPWpF+43r4LZuadF7JzxUjH8JmGlHwazC MiJQ== 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; bh=s4DXMw+kdtmvuSFNhSsFI4AnY/HdDgTquRILLbQDOv0=; b=a8MqwjSM1NCE4QUNh1uhncWic1bQRV3KvfcCJ7k0RvOooO+I+Tls0jEAo7NfRI5/o1 MCFlqQaZLD3acQvu4oGrFZt5O4P6R47AzK02eU0W/Zeto/nCZ+efyyfpXAGBWXLLeeXZ efz0Oy5uAT/h3iHpS6sV/KM+iy4QjBgXc9Jg2KuxXCLy0V2mHeGMt0H3qHqU+Kvj5GMm EN7BBm+A4V2lToqBYLDPQNAoMGfGUHqoVa3420pJntGXT2I84JhqIse6ZymFfeMFMBqd QtG/eV7In2JFjEc1N4F3g1AWWV6zcjdybIde8ijVWqUI2Tk2p86YSSQaoyfTm+/qsLkd NKoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=t3OYj9ir; 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 g13si5772981pgk.165.2018.11.09.01.08.41; Fri, 09 Nov 2018 01:08:57 -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=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=t3OYj9ir; 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 S1727942AbeKISr6 (ORCPT + 99 others); Fri, 9 Nov 2018 13:47:58 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:45690 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727598AbeKISr6 (ORCPT ); Fri, 9 Nov 2018 13:47:58 -0500 Received: by mail-lf1-f65.google.com with SMTP id b20so768045lfa.12 for ; Fri, 09 Nov 2018 01:08:18 -0800 (PST) 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=s4DXMw+kdtmvuSFNhSsFI4AnY/HdDgTquRILLbQDOv0=; b=t3OYj9irBiryZolX4AAYs8s+MxFoEHIOgltijVr5Hle6u9n4XMvGrdT/VamLXY4LIw XD8NsRu/f1rnIsvfoUV1o/ru0lafKo44zjqXgYn10qMsmtRWLMYwLMyBU+Kfb/KTr0sx U0uC1qSliDjv0M4FFRVBbHSiqBZTrI4hmzZN9yQJW9RyGsrSduJzcV+bEfeMe1TJHsnu FybNlTvdVK0JRkDwA89H2pqpolRnhU2PdI3Haniua3p2OCOQmLOJU154tI+S51BHdCvm JRTzO2gAVCLtsTw8IhjQIEVHFbb+7Mkzeyuu5T4kHoPybVlb5U62Z/WWw9wNRc7c0Qz4 wgzA== 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=s4DXMw+kdtmvuSFNhSsFI4AnY/HdDgTquRILLbQDOv0=; b=R1TvxXi8jVuVSlklB2XhnJ9o0LkQpEg5zmGKKLGebsJQbCw3ZsWpRX9H405CxKQnsC g1mBz8px1hxLHWQ9/aCdzkAhLFWxqLXrRvY3f6VsUJf4D9uS/Q/lZWdMzbFeM9Nz5Y84 60/1PNlcGxdWeNRbbXX8oQB91Z3z/Vr0Dk492XhSDbtCFuuIMVybeQReYrK+/bRy8bL+ ndm9tU3k7PGqU+zfIZYThmr1deDH/+tXvUXwF1rWaOJyVqox/JiCJkavacZKQ4RkNlnj 7icixRUNDqiSsnnulPP+SshAWd0GNqJL5290KemDFQN4P1GBZOm+npxco4uCyjqxeGrU G5aw== X-Gm-Message-State: AGRZ1gKo6EbWSAcr5ivuAT6+kPLI4N9lELGcmbbEkWper5UOdPynkOwk SF0LqQGB90EDYXk1GF0LXfSk1fVvfn4= X-Received: by 2002:a19:5510:: with SMTP id n16mr4819240lfe.68.1541754497872; Fri, 09 Nov 2018 01:08:17 -0800 (PST) Received: from [192.168.0.36] (95-166-82-66-cable.dk.customer.tdc.net. [95.166.82.66]) by smtp.googlemail.com with ESMTPSA id m6-v6sm1186463ljh.16.2018.11.09.01.08.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Nov 2018 01:08:17 -0800 (PST) Subject: Re: [PATCH v3 0/7] PBLK Bugfixes and cleanups To: hans.ml.holmberg@owltronix.com Cc: javier@cnexlabs.com, sboisvert@gydle.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, hans.holmberg@cnexlabs.com References: <20181106133330.26570-1-hans.ml.holmberg@owltronix.com> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <5b549e02-5c48-4f11-f969-a849b17e7991@lightnvm.io> Date: Fri, 9 Nov 2018 10:08:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181106133330.26570-1-hans.ml.holmberg@owltronix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/06/2018 02:33 PM, Hans Holmberg wrote: > 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(-) > Thanks Hans. Applied for 4.21.