[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220823203532.GR13489@twin.jikos.cz>
Date: Tue, 23 Aug 2022 22:35:32 +0200
From: David Sterba <dsterba@...e.cz>
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 v2 2/7] btrfs: Convert __process_pages_contig() to use
filemap_get_folios_contig()
On Tue, Aug 16, 2022 at 10:52:41AM -0700, Vishal Moola (Oracle) wrote:
> Convert to use folios throughout. This is in preparation for the removal of
> find_get_pages_contig(). Now also supports large folios.
>
> Since we may receive more than nr_pages pages, nr_pages may underflow.
> Since nr_pages > 0 is equivalent to index <= end_index, we replaced it
> with this check instead.
>
> Signed-off-by: Vishal Moola (Oracle) <vishal.moola@...il.com>
Acked-by: David Sterba <dsterba@...e.com>
Powered by blists - more mailing lists