[GIT PULL] Pagecache fixes for 5.19-rc4
From: Matthew Wilcox
Date: Thu Jun 23 2022 - 12:43:08 EST
The following changes since commit 78ca55889a549a9a194c6ec666836329b774ab6d:
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2022-06-20 09:35:04 -0500)
are available in the Git repository at:
git://git.infradead.org/users/willy/pagecache.git tags/folio-5.19b
for you to fetch changes up to 00fa15e0d56482e32d8ca1f51d76b0ee00afb16b:
filemap: Fix serialization adding transparent huge pages to page cache (2022-06-23 12:22:00 -0400)
----------------------------------------------------------------
Four folio-related fixes for 5.19:
- Mark a folio accessed at the right time (Yu Kuai)
- Fix a race for folios being replaced in the middle of a read (Brian Foster)
- Clear folio->private in more places (Xiubo Li)
- Take the invalidate_lock in page_cache_ra_order() (Alistair Popple)
----------------------------------------------------------------
Alistair Popple (1):
filemap: Fix serialization adding transparent huge pages to page cache
Matthew Wilcox (Oracle) (3):
filemap: Correct the conditions for marking a folio as accessed
filemap: Handle sibling entries in filemap_get_read_batch()
mm: Clear page->private when splitting or migrating a page
mm/filemap.c | 15 ++++++++++++---
mm/huge_memory.c | 1 +
mm/migrate.c | 1 +
mm/readahead.c | 2 ++
4 files changed, 16 insertions(+), 3 deletions(-)