From patchwork Wed Aug 29 12:23:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Holmberg X-Patchwork-Id: 10580123 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 226FB14BD for ; Wed, 29 Aug 2018 12:23:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12F992A6CF for ; Wed, 29 Aug 2018 12:23:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06AF62A70A; Wed, 29 Aug 2018 12:23:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C7B02A6CF for ; Wed, 29 Aug 2018 12:23:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727508AbeH2QUd (ORCPT ); Wed, 29 Aug 2018 12:20:33 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39562 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727444AbeH2QUc (ORCPT ); Wed, 29 Aug 2018 12:20:32 -0400 Received: by mail-ed1-f67.google.com with SMTP id h4-v6so3778260edi.6 for ; Wed, 29 Aug 2018 05:23:52 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=+sGAOImL3QCM3+6MjmiZhgd31TmETmDPRNhbPBLuJcY=; b=bbw4TEI7QWUC/ljRfNwJFWy9YNzUUY+5xQiT5KGa9F7qb75qAsax1131soGGbwQdSt ch92ZckPF8zR4GatpvRnNV6nioGCDDeyKSAI0c0wwz7AnSZZviyW0T+2Iiyw60KTy0Ac 1IFRR8mdM/fYpSQ1Fm/0c/9KAs3nwjztZwyWd4mMFsXBqMh7zYG53Jvi8ItyC3Qd7TCz PUgAbSN3IvAyDQ1br0QCPJr1kHlSCcylSBsKvfGY+YJRFJoOC/EmBEfxUBMpZfrXcQ91 76FtmJCgswXvixOS2WOb1ibJi6hWGp8JJsTY8654KGxuc92szH6yc9mavM0yWWDZk6xB OBGw== 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:mime-version :content-transfer-encoding; bh=+sGAOImL3QCM3+6MjmiZhgd31TmETmDPRNhbPBLuJcY=; b=Y7zGKK36T7fPQKyE/BWcMCiR/y6RPEHGLlSFtNme/yUkZE4hKpzUCU6ucCIheEbu1n guD/Vsqimp8Vj8HKMVhih5bf4bFbzN3GuNVgbgTrEbKXzMvSzUX7v9PK6jsMBN/UYp5z g9Azb8l4rPLqU8s9wZWlASCiluDfWAvPFMo3PjFuUXd5n9y8w2jAZjJmz79s3a9Bl4fW xfneWHV1C87CQdQeXBRCGsW4/bSHfbSMKJ45J5QFCHeCnskD1XmiQbDBkagFuuJZSREI j5VdOI7YV999ZWuY4f63ymN5nywlCEKlupUD/b9RltmjiVi0zNc1pb9/NI0c6XnA2uH/ mjTA== X-Gm-Message-State: APzg51Bw1W9wsqEODSlZeY0TEDDW6UD40iK7VLRsIPq69urcOFnR7C74 54DTRsibvZOt7twJR1LzoldWCA== X-Google-Smtp-Source: ANB0VdYAP1pFw5a2qni+vrfTITUC4UtLvOTYeaWejitRBgShA7gOVLFxhX9PARHtd6UKBjKeDBOleg== X-Received: by 2002:a50:ae83:: with SMTP id e3-v6mr7244511edd.16.1535545432079; Wed, 29 Aug 2018 05:23:52 -0700 (PDT) Received: from titan.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id f26-v6sm1752068edb.28.2018.08.29.05.23.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Aug 2018 05:23:51 -0700 (PDT) From: Hans Holmberg To: Matias Bjorling Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Gonzales , Hans Holmberg Subject: [PATCH 0/7] pblk fixes Date: Wed, 29 Aug 2018 14:23:27 +0200 Message-Id: <1535545414-550-1-git-send-email-hans.ml.holmberg@owltronix.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hans Holmberg This patchset contains a bunch of cleanups and bugfixes for 4.20. The patches depend on some of Javier's for-4.20 patches. For ordering, see: Branch: for-4.20/pblk Remote: ssh://github.com/OpenChannelSSD/linux Hans Holmberg (7): lightnvm: introduce nvm_rq_to_ppa_list lightnvm: pblk: fix mapping issue on failed writes lightnvm: pblk: allocate line map bitmaps using a mempool lightnvm: pblk: move global caches to module init/exit lightnvm: pblk: remove unused parameters in pblk_up_rq lightnvm: pblk: fix up prints in pblk_read_check_rand lightnvm: pblk: fix write amplificiation calculation drivers/lightnvm/core.c | 14 +++------ drivers/lightnvm/pblk-core.c | 25 +++++++++------ drivers/lightnvm/pblk-init.c | 60 ++++++++++++++++++++++------------- drivers/lightnvm/pblk-map.c | 10 +++--- drivers/lightnvm/pblk-read.c | 13 +++----- drivers/lightnvm/pblk-recovery.c | 11 ++++--- drivers/lightnvm/pblk-sysfs.c | 3 +- drivers/lightnvm/pblk-write.c | 68 +++++++++++++++++++++++++++------------- drivers/lightnvm/pblk.h | 11 ++++--- include/linux/lightnvm.h | 5 +++ 10 files changed, 134 insertions(+), 86 deletions(-)