Message ID | 20190504183811.18725-8-mb@lightnvm.io (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-owner@kernel.org> 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 6E0A31390 for <patchwork-linux-block@patchwork.kernel.org>; Sat, 4 May 2019 18:40:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D5B3287C9 for <patchwork-linux-block@patchwork.kernel.org>; Sat, 4 May 2019 18:40:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E3F328824; Sat, 4 May 2019 18:40:38 +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 E897B287C9 for <patchwork-linux-block@patchwork.kernel.org>; Sat, 4 May 2019 18:40:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727925AbfEDSkc (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Sat, 4 May 2019 14:40:32 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:43081 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727345AbfEDSie (ORCPT <rfc822;linux-block@vger.kernel.org>); Sat, 4 May 2019 14:38:34 -0400 Received: by mail-lf1-f66.google.com with SMTP id u27so6251510lfg.10 for <linux-block@vger.kernel.org>; Sat, 04 May 2019 11:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4F8WeLtygmkHaRNyG44s6a3jySfehUltNliwBSf+M7I=; b=poFms3OoHIZ7PDf7AcMggrXiPPAh59WkpmIF2VbxFE7gTfz4WKBU7bxZdH1UzD4OXs oT4Np4UiPDYkTk2tfUM1AJtNfDkHp6ufjC26vz8IxSYxcp0Pl2CnxK4+Bg8QOek9WcEJ y0pKxFEqD6JpZoPSEmoNNd97TG5pituizKE52/uujD65zx8mODr4o7vZgq3M4POm/zTL Od8RatYkTVxVmYgfKQ7gKGLM1sUKUDOqS1WSzPPYfniHEl0rH6ctVslsgt7jecofHms4 2SqAYuhI1vhSNZwSl3XPCnrZ37qjeeTVkO2mqXqXA5myow+ssHzhl5U5TRQOrQughVcT h2Sw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=4F8WeLtygmkHaRNyG44s6a3jySfehUltNliwBSf+M7I=; b=DsK0CuUMYGGdvOA6LllnFiUQ3xeI7bu0IA9CLRJFu9JQGNB6fMnkmEL3rgO8T0cb+/ 90zKU5SNAtWxv/Lo81nnJ6p1jtwA14/UQfh4SibgpRuhm1UXGg4AjaffnlEMRkXejATC 8ZSAPsnLFQMAoHe6kzTeq6jJNM0PL3K1HYFYwMbVahKKvEJ51b4BOuY4K6jddwZndZsw DKscN3b8FZ66TpU4Zm4orXCs4r2kBqgwQ49jqVuS3Kt560ZXV4ZzxEqzxtWoMlsLbGz1 hA9pPgILfLRCzTdUWgju0NF+6CAIDBA+0T5yGum2DzaGelA1Y+IjXJf6IxX7OUHzZ0g5 Su5w== X-Gm-Message-State: APjAAAXxq4apw9P4LuHaBdKX/EYx8NPvHmXHjeJNznN2MGfJTa3cjO9O eot8uQYHGMC3AmOFJPr38M2Hkg== X-Google-Smtp-Source: APXvYqzDN1JoftxMCs2EYI3TFANu6Q6uv8AuBwVW8Mwi5t8BldhwlSNeh0R0Z0jTZUQcYtOWeGyfvQ== X-Received: by 2002:a19:4a04:: with SMTP id x4mr8407373lfa.124.1556995113131; Sat, 04 May 2019 11:38:33 -0700 (PDT) Received: from skyninja.webspeed.dk (2-111-91-225-cable.dk.customer.tdc.net. [2.111.91.225]) by smtp.gmail.com with ESMTPSA id q21sm1050260lfa.84.2019.05.04.11.38.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 May 2019 11:38:32 -0700 (PDT) From: =?utf-8?q?Matias_Bj=C3=B8rling?= <mb@lightnvm.io> To: axboe@fb.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Igor Konopko <igor.j.konopko@intel.com>, =?utf-8?q?Matias_Bj=C3=B8rling?= <mb@lightnvm.io> Subject: [GIT PULL 07/26] lightnvm: pblk: ensure that erase is chunk aligned Date: Sat, 4 May 2019 20:37:52 +0200 Message-Id: <20190504183811.18725-8-mb@lightnvm.io> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190504183811.18725-1-mb@lightnvm.io> References: <20190504183811.18725-1-mb@lightnvm.io> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
lightnvm updates for 5.2
|
expand
|
diff --git a/drivers/lightnvm/pblk-map.c b/drivers/lightnvm/pblk-map.c index 7fbc99b60cac..5408e32b2f13 100644 --- a/drivers/lightnvm/pblk-map.c +++ b/drivers/lightnvm/pblk-map.c @@ -162,6 +162,7 @@ int pblk_map_erase_rq(struct pblk *pblk, struct nvm_rq *rqd, *erase_ppa = ppa_list[i]; erase_ppa->a.blk = e_line->id; + erase_ppa->a.reserved = 0; spin_unlock(&e_line->lock);