From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Yu Date: Thu, 12 Jan 2023 18:17:54 +0800 Subject: [Cluster-devel] [f2fs-dev] [PATCH v5 14/23] f2fs: Convert f2fs_write_cache_pages() to use filemap_get_folios_tag() In-Reply-To: <20230104211448.4804-15-vishal.moola@gmail.com> References: <20230104211448.4804-1-vishal.moola@gmail.com> <20230104211448.4804-15-vishal.moola@gmail.com> Message-ID: <9481a114-04d3-7276-bc82-ee18c685b5a6@kernel.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 2023/1/5 5:14, Vishal Moola (Oracle) wrote: > Converted the function to use a folio_batch instead of pagevec. This is in > preparation for the removal of find_get_pages_range_tag(). > > Also modified f2fs_all_cluster_page_ready to take in a folio_batch instead > of pagevec. This does NOT support large folios. The function currently > only utilizes folios of size 1 so this shouldn't cause any issues right > now. > > This version of the patch limits the number of pages fetched to > F2FS_ONSTACK_PAGES. If that ever happens, update the start index here > since filemap_get_folios_tag() updates the index to be after the last > found folio, not necessarily the last used page. > > Signed-off-by: Vishal Moola (Oracle) Acked-by: Chao Yu Thanks,