Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43423669 authored by TARKZiM's avatar TARKZiM
Browse files

Revert "mm: pass readahead info down to the i/o scheduler"

This reverts commit a4fe692d.
parent fdb14c28
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -109,7 +109,6 @@ enum pageflags {
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
	PG_compound_lock,
#endif
	PG_readahead,		/* page in a readahead window */
	__NR_PAGEFLAGS,

	/* Filesystems */
+0 −1
Original line number Diff line number Diff line
@@ -6533,7 +6533,6 @@ static const struct trace_print_flags pageflag_names[] = {
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
	{1UL << PG_compound_lock,	"compound_lock"	},
#endif
	{1UL << PG_readahead,           "PG_readahead"  },
};

static void dump_page_flags(unsigned long flags)
+0 −3
Original line number Diff line number Diff line
@@ -186,9 +186,6 @@ __do_page_cache_readahead(struct address_space *mapping, struct file *filp,
		if (!page)
			break;
		page->index = page_offset;

		page->flags |= (1L << PG_readahead);

		list_add(&page->lru, &page_pool);
		if (page_idx == nr_to_read - lookahead_size)
			SetPageReadahead(page);