[GIT PULL] f2fs update for 6.14-rc1

From: Jaegeuk Kim
Date: Mon Jan 27 2025 - 23:10:29 EST


Hi Linus,

Could you please consider this pull request?

Thanks,

The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:

Linux 6.13-rc1 (2024-12-01 14:28:56 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-6.14-rc1

for you to fetch changes up to 03511e936916873bf880e6678c98d5fb59c19742:

f2fs: fix inconsistent dirty state of atomic file (2025-01-25 01:12:12 +0000)

----------------------------------------------------------------
f2fs-for-6.14-rc1

In this series, there are several major improvements such as 1) folio conversion
made by Matthew, 2) speed-up of block truncation, 3) caching more dentry pages.
In addition, we implemented a linear dentry search to address recent unicode
regression, and figured out some false alarms that we could get rid of.

Enhancement:
- foilio conversion in various IO paths
- optimize f2fs_truncate_data_blocks_range()
- cache more dentry pages
- remove unnecessary blk_finish_plug
- procfs: show mtime in segment_bits

Bug fix:
- introduce linear search for dentries
- don't call block truncation for aliased file
- fix using wrong 'submitted' value in f2fs_write_cache_pages
- fix to do sanity check correctly on i_inline_xattr_size
- avoid trying to get invalid block address
- fix inconsistent dirty state of atomic file

----------------------------------------------------------------
Chao Yu (3):
f2fs: fix to do sanity check correctly on i_inline_xattr_size
f2fs: fix to avoid return invalid mtime from f2fs_get_section_mtime()
f2fs: procfs: show mtime in segment_bits

Daniel Lee (1):
f2fs: Introduce linear search for dentries

Dmitry Antipov (1):
f2fs: ensure that node info flags are always initialized

Jaegeuk Kim (3):
f2fs: don't call block truncation for aliased file
f2fs: remove blk_finish_plug
f2fs: avoid trying to get invalid block address

Jianan Huang (1):
f2fs: fix inconsistent dirty state of atomic file

Matthew Wilcox (Oracle) (11):
f2fs: Use a folio in f2fs_all_cluster_page_ready()
f2fs: Use a folio in f2fs_compress_write_end()
f2fs: Use a folio in f2fs_truncate_partial_cluster()
f2fs: Use a folio in f2fs_write_compressed_pages()
f2fs: Convert submit tracepoints to take a folio
f2fs: Add F2FS_F_SB()
f2fs: Convert f2fs_finish_read_bio() to use folios
f2fs: Use a folio more in f2fs_submit_page_bio()
f2fs: Use a data folio in f2fs_submit_page_bio()
f2fs: Convert __read_io_type() to take a folio
f2fs: Remove calls to folio_file_mapping()

Nathan Chancellor (1):
f2fs: Fix format specifier in sanity_check_inode()

Yi Sun (7):
f2fs: expand f2fs_invalidate_compress_page() to f2fs_invalidate_compress_pages_range()
f2fs: add parameter @len to f2fs_invalidate_internal_cache()
f2fs: introduce update_sit_entry_for_release/alloc()
f2fs: update_sit_entry_for_release() supports consecutive blocks.
f2fs: add parameter @len to f2fs_invalidate_blocks()
f2fs: Optimize f2fs_truncate_data_blocks_range()
f2fs: Clean up the loop outside of f2fs_invalidate_blocks()

Yongpeng Yang (1):
f2fs: The GC triggered by ioctl also needs to mark the segno as victim

Zhiguo Niu (1):
f2fs: fix to avoid changing 'check only' behaior of recovery

zangyangyang1 (2):
f2fs: cache more dentry pages
f2fs: fix using wrong 'submitted' value in f2fs_write_cache_pages

fs/f2fs/compress.c | 38 ++++----
fs/f2fs/data.c | 62 ++++++-------
fs/f2fs/dir.c | 53 +++++++----
fs/f2fs/f2fs.h | 29 +++---
fs/f2fs/file.c | 37 ++++++--
fs/f2fs/gc.c | 13 +--
fs/f2fs/inline.c | 7 +-
fs/f2fs/inode.c | 19 ++--
fs/f2fs/namei.c | 1 +
fs/f2fs/node.c | 10 ++-
fs/f2fs/recovery.c | 4 +-
fs/f2fs/segment.c | 210 +++++++++++++++++++++++++++++---------------
fs/f2fs/sysfs.c | 3 +-
include/trace/events/f2fs.h | 39 ++++----
14 files changed, 324 insertions(+), 201 deletions(-)