Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2879345imu; Wed, 7 Nov 2018 00:48:20 -0800 (PST) X-Google-Smtp-Source: AJdET5edS5ZfWhsbUHda8qbs9MpEWmYKKb0O3w0Es9oUBBqFhKrXJnsMoc+LrDKhFrm43BZISr9X X-Received: by 2002:a63:b30f:: with SMTP id i15mr876813pgf.240.1541580500581; Wed, 07 Nov 2018 00:48:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541580500; cv=none; d=google.com; s=arc-20160816; b=0N7df3GdoHboCKYa8P1Wdk97MS0i9i9DEJnscnv5MtVQQafm8cAHb1O0Ddm5keboPn ts1ENeei/LsUsm+3KcPsmcT8OHsbRPGVXO1QgD5rHaIrDAbmUg4Y3t7SlXud3rGKkyrV iLDNh3MV/XxF13ZaU0Ixtsui0Sztqt7L2lhQ1BxBmcOvOOX0pQGH141lbwHFgEzqicrG FNkgT0IjYxNC5S2fTy0W6tSdT833zWJxCfAEGe3zwj0Yk9tLx6VDm1u66lEKuKLYLOaG T3Dwmi0gqXwCo8mzxfnQRTjXhOo1wAAPmSfdZPVZMfQW0en0N26gMvsHv2KD7/jUE9f9 UPcQ== 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=uJhCXDpMB4CHmRSDfpZAmsbG/gVWqnv31v9wAomE9DQ=; b=fnOccbYJhIfViHYQLvvLshq8A2sLQKQjDb8losHVSnXGL0GkIPM4ZgfydaHjJAiFV8 IWAu/ql6KQkR8RJhkmkXfPvAu/s8AIJgGm6rBOJrfUZQGhat8kpY5QjvqpXZHUdWA9XO JOWI7a8iIVkUkZP5Nsjh11D/75Qt/qhiTdMYB2GlFYSzSxVKmJqn3hqCAxvtOqg1XEvm No3CAGDY9h0pPQWxGQLFL0CGbpzMxJBinQYfJDAtc6EpnEaR/9J+WC+GIuM1rFoVo/TY l0A6bi5PKUNCKQFD2zFWG3ycZjD9Cdfxlw3mvQacs48P72RfD/1fuSrv+R1zcyW9ixEc mk1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=UYKIWahn; 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 u128-v6si48027226pfb.181.2018.11.07.00.48.04; Wed, 07 Nov 2018 00:48:20 -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=UYKIWahn; 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 S1730453AbeKGSRA (ORCPT + 99 others); Wed, 7 Nov 2018 13:17:00 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35280 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbeKGSRA (ORCPT ); Wed, 7 Nov 2018 13:17:00 -0500 Received: by mail-lj1-f194.google.com with SMTP id x85-v6so14041897ljb.2 for ; Wed, 07 Nov 2018 00:47:37 -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=uJhCXDpMB4CHmRSDfpZAmsbG/gVWqnv31v9wAomE9DQ=; b=UYKIWahn4q7dYASO3Ia+VzuPA/IT4DcrhcB4ptTyElig7Zj7YCr45rDWQvSe++Vjs6 j2rmIgGu2FVvGGyXqWkwWubD+Q5UVHnIbP/Athwps0PdtDR511BlZBnXX2JIcv5II0g2 Bf/3NFFKWafgesPgU4LCrlVng4bSLFDzgQbPzqtTx/N2nOEbmMNQ4qZcDnvl+wnVfDNY I2ezFiBz4SJVSnMSWfq5b37MljRuUd+yvzSWMee7/kNJnn8aB8ptNncblnJz/CLk8wOb M9kGz8CSaAzOty4xIV9fw2nHbAcdDoQsSyM5dHTZwVsXJI6UeV/ipnE+mKygI+kKuy4m TNjQ== 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=uJhCXDpMB4CHmRSDfpZAmsbG/gVWqnv31v9wAomE9DQ=; b=pXI5xAVmzjIZFPY74FFas4psLSWkrqUvMKtjQ7/tHhXG05/n55woG6yTTYjMyx20DS ldcu8yTrnsZf/S04k/geM4RczByppPVb+LBr9iQIYzkLe8XGxP4H9usveStpEEy9yhMe MXhzmxc9+kJ9hhOQtiJ0mIs1EEbv8TpIyDbf1D4WBxeN5T40rgH7asJXxPffpAE/m51V 1CUjhGj6SdDtP1qrDGmQYGwAMwBQx/7RlfV/JVk/mMlYRDibVgU9+rCE5hYgqpqkxUUw q0JpasvzZ7/4nbnZ6EUr28YqOzW9ca3bklVg2eLPaT9ahOu6IO3wtE9y9WsKdQ3NqcJB SRfw== X-Gm-Message-State: AGRZ1gKiXBZ6ZzCKmpG5ectpKDyY0b7O8DEYP0pA4i1KWXtFF6SYmVMf FZ5dLEcSxQD2FiMeeJkvNKqnqKJoNDM= X-Received: by 2002:a2e:449c:: with SMTP id b28-v6mr667106ljf.47.1541580456107; Wed, 07 Nov 2018 00:47:36 -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 a20-v6sm1143905ljf.28.2018.11.07.00.47.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 00:47:35 -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: Date: Wed, 7 Nov 2018 09:47:34 +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(-) > Sebastien, would you like me add your Reviewed-by?