All of lore.kernel.org
 help / color / mirror / Atom feed
* [f2fs-dev] [PATCH RESEND 0/4] improve fadvise(POSIX_FADV_WILLNEED) with large folio
@ 2025-12-01 21:01 ` Jaegeuk Kim
  0 siblings, 0 replies; 21+ messages in thread
From: Jaegeuk Kim via Linux-f2fs-devel @ 2025-12-01 21:01 UTC (permalink / raw)
  To: linux-kernel, linux-f2fs-devel, linux-mm, Matthew Wilcox; +Cc: Jaegeuk Kim

This patch series aims to improve fadvise(POSIX_FADV_WILLNEED). The first patch
fixes the broken logic which was not reading the entire range ahead, and two
patches were converting the logic to adopt large folio supported by filesystem.
The last one is one example of how filesystem can set a desired folio order to
boost the readahead speed.

Jaegeuk Kim (4):
  mm/readahead: fix the broken readahead for POSIX_FADV_WILLNEED
  mm/readahead: use page_cache_sync_ra for FADVISE_FAV_WILLNEED
  mm/readahead: add a_ops->ra_folio_order to get a desired folio order
  f2fs: attach a_ops->ra_folio_order to allocate large folios for
    readahead

 fs/f2fs/data.c          |  9 +++++++++
 fs/f2fs/f2fs.h          |  3 +++
 fs/f2fs/super.c         |  1 +
 fs/f2fs/sysfs.c         |  9 +++++++++
 include/linux/fs.h      |  4 ++++
 include/linux/pagemap.h | 12 +++++++++++
 mm/readahead.c          | 44 ++++++++++++++++++++++++-----------------
 7 files changed, 64 insertions(+), 18 deletions(-)

-- 
2.52.0.107.ga0afd4fd5b-goog



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [f2fs-dev] [PATCH 0/4] improve fadvise(POSIX_FADV_WILLNEED) with large folio
@ 2025-12-01 19:16 Jaegeuk Kim via Linux-f2fs-devel
  2025-12-01 19:16 ` [f2fs-dev] [PATCH 3/4] mm/readahead: add a_ops->ra_folio_order to get a desired folio order Jaegeuk Kim via Linux-f2fs-devel
  0 siblings, 1 reply; 21+ messages in thread
From: Jaegeuk Kim via Linux-f2fs-devel @ 2025-12-01 19:16 UTC (permalink / raw)
  To: linux-kernel, linux-f2fs-devel; +Cc: Jaegeuk Kim

This patch series aims to improve fadvise(POSIX_FADV_WILLNEED). The first patch
fixes the broken logic which was not reading the entire range ahead, and two
patches were converting the logic to adopt large folio supported by filesystem.
The last one is one example of how filesystem can set a desired folio order to
boost the readahead speed.

Jaegeuk Kim (4):
  mm/readahead: fix the broken readahead for POSIX_FADV_WILLNEED
  mm/readahead: use page_cache_sync_ra for FADVISE_FAV_WILLNEED
  mm/readahead: add a_ops->ra_folio_order to get a desired folio order
  f2fs: attach a_ops->ra_folio_order to allocate large folios for
    readahead

 fs/f2fs/data.c          |  9 +++++++++
 fs/f2fs/f2fs.h          |  3 +++
 fs/f2fs/super.c         |  1 +
 fs/f2fs/sysfs.c         |  9 +++++++++
 include/linux/fs.h      |  4 ++++
 include/linux/pagemap.h | 12 +++++++++++
 mm/readahead.c          | 44 ++++++++++++++++++++++++-----------------
 7 files changed, 64 insertions(+), 18 deletions(-)

-- 
2.52.0.107.ga0afd4fd5b-goog



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-12-02  1:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-01 21:01 [f2fs-dev] [PATCH RESEND 0/4] improve fadvise(POSIX_FADV_WILLNEED) with large folio Jaegeuk Kim via Linux-f2fs-devel
2025-12-01 21:01 ` Jaegeuk Kim
2025-12-01 21:01 ` [f2fs-dev] [PATCH 1/4] mm/readahead: fix the broken readahead for POSIX_FADV_WILLNEED Jaegeuk Kim via Linux-f2fs-devel
2025-12-01 21:01   ` Jaegeuk Kim
2025-12-01 21:24   ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2025-12-01 21:24     ` Chao Yu
2025-12-01 21:01 ` [f2fs-dev] [PATCH 2/4] mm/readahead: use page_cache_sync_ra for FADVISE_FAV_WILLNEED Jaegeuk Kim via Linux-f2fs-devel
2025-12-01 21:01   ` Jaegeuk Kim
2025-12-01 21:01 ` [f2fs-dev] [PATCH 3/4] mm/readahead: add a_ops->ra_folio_order to get a desired folio order Jaegeuk Kim via Linux-f2fs-devel
2025-12-01 21:01   ` Jaegeuk Kim
2025-12-01 21:20   ` [f2fs-dev] " Matthew Wilcox
2025-12-01 21:20     ` Matthew Wilcox
2025-12-01 21:24     ` [f2fs-dev] " Jaegeuk Kim via Linux-f2fs-devel
2025-12-01 21:24       ` Jaegeuk Kim
2025-12-01 21:38       ` [f2fs-dev] " Matthew Wilcox
2025-12-01 21:38         ` Matthew Wilcox
2025-12-02  1:33         ` [f2fs-dev] " Jaegeuk Kim via Linux-f2fs-devel
2025-12-02  1:33           ` Jaegeuk Kim
2025-12-01 21:01 ` [f2fs-dev] [PATCH 4/4] f2fs: attach a_ops->ra_folio_order to allocate large folios for readahead Jaegeuk Kim via Linux-f2fs-devel
2025-12-01 21:01   ` Jaegeuk Kim
  -- strict thread matches above, loose matches on Subject: below --
2025-12-01 19:16 [f2fs-dev] [PATCH 0/4] improve fadvise(POSIX_FADV_WILLNEED) with large folio Jaegeuk Kim via Linux-f2fs-devel
2025-12-01 19:16 ` [f2fs-dev] [PATCH 3/4] mm/readahead: add a_ops->ra_folio_order to get a desired folio order Jaegeuk Kim via Linux-f2fs-devel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.