[v2,0/4] Removing the try_to_release_page() wrapper

Message ID 20221118021410.24420-1-vishal.moola@gmail.com
Headers
Series Removing the try_to_release_page() wrapper |

Message

Vishal Moola Nov. 18, 2022, 2:14 a.m. UTC
  This patchset replaces the remaining calls of try_to_release_page() with
the folio equivalent: filemap_release_folio(). This allows us to remove
the wrapper.

The set passes fstests on ext4 and xfs.

---
v2:
  Added VM_BUG_ON_FOLIO to ext4 for catching future data corruption

Vishal Moola (Oracle) (4):
  ext4: Convert move_extent_per_page() to use folios
  khugepage: Replace try_to_release_page() with filemap_release_folio()
  memory-failure: Convert truncate_error_page() to use folio
  folio-compat: Remove try_to_release_page()

 fs/ext4/move_extent.c   | 52 ++++++++++++++++++++++++-----------------
 include/linux/pagemap.h |  1 -
 mm/folio-compat.c       |  6 -----
 mm/khugepaged.c         | 23 +++++++++---------
 mm/memory-failure.c     |  5 ++--
 5 files changed, 46 insertions(+), 41 deletions(-)