Message ID | 20181211191627.15542-4-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 E3DBB112E for <patchwork-linux-block@patchwork.kernel.org>; Tue, 11 Dec 2018 19:18:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D61BC2AC98 for <patchwork-linux-block@patchwork.kernel.org>; Tue, 11 Dec 2018 19:18:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA10A2AE41; Tue, 11 Dec 2018 19:18:56 +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 79DA92AC98 for <patchwork-linux-block@patchwork.kernel.org>; Tue, 11 Dec 2018 19:18:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbeLKTRF (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Tue, 11 Dec 2018 14:17:05 -0500 Received: from mail-lf1-f46.google.com ([209.85.167.46]:46157 "EHLO mail-lf1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726797AbeLKTRF (ORCPT <rfc822;linux-block@vger.kernel.org>); Tue, 11 Dec 2018 14:17:05 -0500 Received: by mail-lf1-f46.google.com with SMTP id f23so11596563lfc.13 for <linux-block@vger.kernel.org>; Tue, 11 Dec 2018 11:17:03 -0800 (PST) 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=TmJnvhRDq+XrZ6hTWK6vWKJ3pmK1jX6DMSH7DISlQQQ=; b=nJAhIR2ekuo/pDaTHJnKPQ41v1LVN+1Fcipk9yKag7i2HBjDKqwsneXLBAMZ3HNMPc 0Wkq9/9bEkmEC+p1pzJuJGlcYyYwF84qISAXEeWII4dWm5n1OJez4pAdATmBop3tWXVJ 6GZaX+6ttrlW4BHCCA2YB0uX2M8Q6h3hf0nf39JhRND46Ch6FNNpdWVvZ9K+fbpfhKoF fqqV0xtsuqM6e4x8YqmtzFmClyuMGuAI8Th1oa9zJjVbjn4Jyjsqwt04Co2O/8vNztyO LYSxoLhIiMo5gu42luuOjA6qQPcUc9CyjLgUbPDcMusOIVo58gDkBz5FsXliRdivX/rt gydQ== 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=TmJnvhRDq+XrZ6hTWK6vWKJ3pmK1jX6DMSH7DISlQQQ=; b=Lt8ShcHtbss165O8tYJyo8kOvCfRRFkP3ZTq07+rkXv5d6Sng501ZprVk+oIp0XGPR 2CbrmbdkpdOmnXGPl4Y/K6OywOZNK5Qb8gbl3e/OvaFO3ghDE1AKg6f3ycjsH1kBXzPP 5S0iqnkNIvhyLoh5PD8NHr5mLIuVq/nhuVlzdoQkzY2zSChMNTDt1x15umq+eXeaaNPF /oS++o3ze5UqXYFAdcEs3Ue6dds+HFZmPWlZ1mafbYz2kCp2+yjDaB25v/StPDAePck4 tRiqqwcSzp0qGb+X4/UGFcnWWKr1b5JcosZSwe30UTP7Of+q9sskiZ3IPKGLNsnGSXuv 8mhQ== X-Gm-Message-State: AA+aEWYRGGsL7Kha8TOteBO+k0b6QkWsoK6Rm3Un0UeLZWnhI4iQaL0i 1NHvNvORejROcPLS8qKJMlZ/Hw== X-Google-Smtp-Source: AFSGD/V4z7A7w5bxMIBz3HhhLRXWA1lKxef+gsGt7P3OX7m9jF39S9EttCvgJw316YCkghb51g3WOA== X-Received: by 2002:a19:a149:: with SMTP id k70mr10051471lfe.5.1544555822844; Tue, 11 Dec 2018 11:17:02 -0800 (PST) Received: from skyninja.webspeed.dk (95-166-82-66-cable.dk.customer.tdc.net. [95.166.82.66]) by smtp.gmail.com with ESMTPSA id v64sm2764583lfa.48.2018.12.11.11.17.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 11:17:01 -0800 (PST) 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, Hans Holmberg <hans.holmberg@cnexlabs.com>, =?utf-8?q?Matias_Bj=C3=B8rling?= <mb@lightnvm.io> Subject: [GIT PULL 03/21] lightnvm: pblk: fix chunk close trace event check Date: Tue, 11 Dec 2018 20:16:09 +0100 Message-Id: <20181211191627.15542-4-mb@lightnvm.io> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181211191627.15542-1-mb@lightnvm.io> References: <20181211191627.15542-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 4.21
|
expand
|
diff --git a/drivers/lightnvm/pblk-core.c b/drivers/lightnvm/pblk-core.c index 6944aac43b01..6581c35f51ee 100644 --- a/drivers/lightnvm/pblk-core.c +++ b/drivers/lightnvm/pblk-core.c @@ -531,7 +531,7 @@ void pblk_check_chunk_state_update(struct pblk *pblk, struct nvm_rq *rqd) if (caddr == 0) trace_pblk_chunk_state(pblk_disk_name(pblk), ppa, NVM_CHK_ST_OPEN); - else if (caddr == chunk->cnlb) + else if (caddr == (chunk->cnlb - 1)) trace_pblk_chunk_state(pblk_disk_name(pblk), ppa, NVM_CHK_ST_CLOSED); }