[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKFNMomaxii8r_B3XA4KdkvcD+9Crm=S=0KE-nDa4+qs78E4dQ@mail.gmail.com>
Date: Wed, 24 Aug 2022 13:11:17 +0900
From: Ryusuke Konishi <konishi.ryusuke@...il.com>
To: "Vishal Moola (Oracle)" <vishal.moola@...il.com>
Cc: linux-fsdevel@...r.kernel.org, linux-btrfs@...r.kernel.org,
linux-nilfs@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 5/7] nilfs2: Convert nilfs_find_uncommited_extent() to
use filemap_get_folios_contig()
On Wed, Aug 24, 2022 at 9:43 AM Vishal Moola (Oracle) wrote:
>
> Converted function to use folios throughout. This is in preparation for
> the removal of find_get_pages_contig(). Now also supports large folios.
>
> Also cleaned up an unnecessary if statement - pvec.pages[0]->index > index
> will always evaluate to false, and filemap_get_folios_contig() returns 0 if
> there is no folio found at index.
>
> Signed-off-by: Vishal Moola (Oracle) <vishal.moola@...il.com>
> ---
> fs/nilfs2/page.c | 45 ++++++++++++++++++---------------------------
> 1 file changed, 18 insertions(+), 27 deletions(-)
Acked-by: Ryusuke Konishi <konishi.ryusuke@...il.com>
Looks good, thank you!
Ryusuke Konishi
Powered by blists - more mailing lists