Skip to contentSkip to conversation

ceph-use-pagevec_lookup_range_nr_tag.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 16, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: ceph: use pagevec_lookup_range_nr_tag()
has been removed from the -mm tree. Its filename was
ceph-use-pagevec_lookup_range_nr_tag.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jan Kara <[email protected]>
Subject: ceph: use pagevec_lookup_range_nr_tag()

Use new function for looking up pages since nr_pages argument from pagevec_lookup_range_tag() is going away.

---

 fs/ceph/addr.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
fs/ceph/addr.c renamed from fs/ceph/addr.c~ceph-use-pagevec_lookup_range_nr_tag +2 -4
diff -puN fs/ceph/addr.c~ceph-use-pagevec_lookup_range_nr_tag fs/ceph/addr.c
@@ -870,11 +870,9 @@ retry:
 		max_pages = wsize >> PAGE_SHIFT;
 
 get_more_pages:
-		pvec_pages = min_t(unsigned, PAGEVEC_SIZE,
-				   max_pages - locked_pages);
-		pvec_pages = pagevec_lookup_range_tag(&pvec, mapping, &index,
+		pvec_pages = pagevec_lookup_range_nr_tag(&pvec, mapping, &index,
 						end, PAGECACHE_TAG_DIRTY,
-						pvec_pages);
+						max_pages - locked_pages);
 		dout("pagevec_lookup_range_tag got %d\n", pvec_pages);
 		if (!pvec_pages && !locked_pages)
 			break;

_

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

mm-readahead-increase-maximum-readahead-window.patch