Skip to contentSkip to conversation

filemap-add-filemap_get_folios_contig.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Sep 12, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: filemap: add filemap_get_folios_contig()
has been removed from the -mm tree. Its filename was
filemap-add-filemap_get_folios_contig.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: "Vishal Moola (Oracle)" <[email protected]>
Subject: filemap: add filemap_get_folios_contig()
Date: Tue, 23 Aug 2022 17:40:17 -0700

Patch series "Convert to filemap_get_folios_contig()", v3.

This patch series replaces find_get_pages_contig() with filemap_get_folios_contig().

This patch (of 7):

This function is meant to replace find_get_pages_contig().

Unlike find_get_pages_contig(), filemap_get_folios_contig() no longer takes in a target number of pages to find - It returns up to 15 contiguous folios.

To be more consistent with filemap_get_folios(), filemap_get_folios_contig() now also updates the start index passed in, and takes an end index.

---

 include/linux/pagemap.h |    2 +
 mm/filemap.c            |   73 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
include/linux/pagemap.h renamed from include/linux/pagemap.h~filemap-add-filemap_get_folios_contig +2 -0
@@ -718,6 +718,8 @@ static inline struct page *find_subpage(
 
 unsigned filemap_get_folios(struct address_space *mapping, pgoff_t *start,
 		pgoff_t end, struct folio_batch *fbatch);
+unsigned filemap_get_folios_contig(struct address_space *mapping,
+		pgoff_t *start, pgoff_t end, struct folio_batch *fbatch);
 unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t start,
 			       unsigned int nr_pages, struct page **pages);
 unsigned find_get_pages_range_tag(struct address_space *mapping, pgoff_t *index,
mm/filemap.c renamed from mm/filemap.c~filemap-add-filemap_get_folios_contig +73 -0

79 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

filemap-convert-filemap_range_has_writeback-to-use-folios.patch