mbox series

[f2fs-dev,GIT,PULL] f2fs update for 6.15-rc1

Message ID Z-GPopTYCOl0hjp3@google.com (mailing list archive)
State Mainlined
Commit 81d8e5e2132215d21f2cddffcd2b16d08c0389fa
Headers show
Series [f2fs-dev,GIT,PULL] f2fs update for 6.15-rc1 | expand

Pull-request

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

Message

Jaegeuk Kim March 24, 2025, 5 p.m. UTC
Hi Linus,

Could you please consider this pull request?

Thanks,

The following changes since commit f286757b644c226b6b31779da95a4fa7ab245ef5:

  Merge tag 'timers-urgent-2025-02-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2025-02-03 09:10: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.15-rc1

for you to fetch changes up to 21263d035ff21fa0ccf79adba20bab9cd8cca0f2:

  f2fs: fix missing discard for active segments (2025-03-18 01:26:06 +0000)

----------------------------------------------------------------
f2fs-for-6.15-rc1

In this round, there are three major updates: 1) folio conversion, 2) refactor
for mount API conversion, 3) some performance improvement such as direct IO,
checkpoint speed, and IO priority hints. For stability, there are patches
which add more sanity checks and fixes some major issues like i_size in
atomic write operations and write pointer recovery in zoned devices.

Enhancement:
 - huge folio converion work by Matthew Wilcox
 - clean up for mount API conversion by Eric Sandeen
 - improve direct IO speed in the overwrite case
 - add some sanity check on node consistency
 - set highest IO priority for checkpoint thread
 - keep POSIX_FADV_NOREUSE ranges and add sysfs entry to reclaim pages
 - add ioctl to get IO priority hint
 - add carve_out sysfs node for fsstat

Bug fix:
 - disable nat_bits during umount to avoid potential nat entry corruption
 - fix missing i_size update on atomic writes
 - fix missing discard for active segments
 - fix running out of free segments
 - fix out-of-bounds access in f2fs_truncate_inode_blocks()
 - call f2fs_recover_quota_end() correctly
 - fix potential deadloop in prepare_compress_overwrite()
 - fix the missing write pointer correction for zoned device
 - fix to avoid panic once fallocation fails for pinfile
 - don't retry IO for corrupted data scenario

There are many other clean up patches and minor bug fixes as usual.

----------------------------------------------------------------
Chao Yu (15):
      f2fs: quota: fix to avoid warning in dquot_writeback_dquots()
      f2fs: don't retry IO for corrupted data scenario
      f2fs: add dump_stack() in f2fs_handle_critical_error()
      f2fs: fix to avoid panic once fallocation fails for pinfile
      f2fs: fix to set .discard_granularity correctly
      f2fs: fix potential deadloop in prepare_compress_overwrite()
      f2fs: fix to call f2fs_recover_quota_end() correctly
      f2fs: fix to avoid out-of-bounds access in f2fs_truncate_inode_blocks()
      f2fs: control nat_bits feature via mount option
      f2fs: do sanity check on inode footer in f2fs_get_inode_page()
      f2fs: do sanity check on xattr node footer in f2fs_get_xnode_page()
      f2fs: introduce FAULT_INCONSISTENT_FOOTER
      f2fs: fix to avoid accessing uninitialized curseg
      Revert "f2fs: rebuild nat_bits during umount"
      f2fs: fix to avoid running out of free segments

Chunhai Guo (1):
      f2fs: fix missing discard for active segments

Daeho Jeong (1):
      f2fs: add carve_out sysfs node

Eric Sandeen (9):
      f2fs: use f2fs_sb_has_device_alias during option parsing
      f2fs: consolidate unsupported option handling errors
      f2fs: factor out an f2fs_default_check function
      f2fs: make INLINECRYPT a mount option flag
      f2fs: make LAZYTIME a mount option flag
      f2fs: Pass sbi rather than sb to f2fs_set_test_dummy_encryption
      f2fs: defer readonly check vs norecovery
      f2fs: pass sbi rather than sb to quota qf_name helpers
      f2fs: pass sbi rather than sb to parse_options()

Jaegeuk Kim (6):
      f2fs: introduce f2fs_base_attr for global sysfs entries
      f2fs: add ioctl to get IO priority hint
      f2fs: keep POSIX_FADV_NOREUSE ranges
      f2fs: add a sysfs entry to reclaim POSIX_FADV_NOREUSE pages
      f2fs: fix the missing write pointer correction
      f2fs: set highest IO priority for checkpoint thread

Kohei Enju (1):
      f2fs: remove unnecessary null checking

Leo Stone (1):
      f2fs: add check for deleted inode

Matthew Wilcox (Oracle) (31):
      f2fs: Add f2fs_folio_wait_writeback()
      mm: Remove wait_for_stable_page()
      f2fs: Add f2fs_folio_put()
      f2fs: Convert f2fs_flush_inline_data() to use a folio
      f2fs: Convert f2fs_sync_node_pages() to use a folio
      f2fs: Pass a folio to flush_dirty_inode()
      f2fs: Convert f2fs_fsync_node_pages() to use a folio
      f2fs: Convert last_fsync_dnode() to use a folio
      f2fs: Return a folio from last_fsync_dnode()
      f2fs: Add f2fs_grab_cache_folio()
      mm: Remove grab_cache_page_write_begin()
      f2fs: Use a folio in __get_node_page()
      f2fs: Use a folio in do_write_page()
      f2fs: Convert f2fs_write_end_io() to use a folio_iter
      f2fs: Mark some functions as taking a const page pointer
      f2fs: Convert f2fs_in_warm_node_list() to take a folio
      f2fs: Add f2fs_get_node_folio()
      f2fs: Use a folio throughout f2fs_truncate_inode_blocks()
      f2fs: Use a folio throughout __get_meta_page()
      f2fs: Hoist the page_folio() call to the start of f2fs_merge_page_bio()
      f2fs: Add f2fs_get_read_data_folio()
      f2fs: Add f2fs_get_lock_data_folio()
      f2fs: Convert move_data_page() to use a folio
      f2fs: Convert truncate_partial_data_page() to use a folio
      f2fs: Convert gc_data_segment() to use a folio
      f2fs: Add f2fs_find_data_folio()
      mm: Remove wait_on_page_locked()
      f2fs: Remove check for ->writepage
      f2fs: Remove f2fs_write_data_page()
      f2fs: Remove f2fs_write_meta_page()
      f2fs: Remove f2fs_write_node_page()

Yeongjin Gil (1):
      f2fs: fix to avoid atomicity corruption of atomic file

Yohan Joung (1):
      f2fs: optimize f2fs DIO overwrites

Zhiguo Niu (1):
      f2fs: fix to return SHRINK_EMPTY if no objects to free

 Documentation/ABI/testing/sysfs-fs-f2fs |  18 ++
 Documentation/filesystems/f2fs.rst      |   3 +
 fs/f2fs/checkpoint.c                    |  71 ++---
 fs/f2fs/compress.c                      |   1 +
 fs/f2fs/data.c                          | 190 +++++++-------
 fs/f2fs/debug.c                         |   3 +
 fs/f2fs/dir.c                           |   2 +-
 fs/f2fs/f2fs.h                          | 155 ++++++++---
 fs/f2fs/file.c                          | 126 +++++++--
 fs/f2fs/gc.c                            |  42 +--
 fs/f2fs/inline.c                        |  22 +-
 fs/f2fs/inode.c                         |  33 ++-
 fs/f2fs/namei.c                         |   8 +
 fs/f2fs/node.c                          | 450 +++++++++++++++-----------------
 fs/f2fs/node.h                          |  13 +-
 fs/f2fs/segment.c                       |  55 ++--
 fs/f2fs/segment.h                       |   9 +-
 fs/f2fs/shrinker.c                      |  92 ++++++-
 fs/f2fs/super.c                         | 191 +++++++++-----
 fs/f2fs/sysfs.c                         | 139 ++++++++--
 fs/f2fs/xattr.c                         |   8 +-
 include/linux/pagemap.h                 |   9 -
 include/uapi/linux/f2fs.h               |   7 +
 mm/filemap.c                            |   2 +-
 mm/folio-compat.c                       |  14 -
 25 files changed, 1059 insertions(+), 604 deletions(-)

Comments

patchwork-bot+f2fs--- via Linux-f2fs-devel March 27, 2025, 8:48 p.m. UTC | #1
The pull request you sent on Mon, 24 Mar 2025 17:00:18 +0000:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/81d8e5e2132215d21f2cddffcd2b16d08c0389fa

Thank you!
patchwork-bot+f2fs--- via Linux-f2fs-devel March 27, 2025, 9:58 p.m. UTC | #2
Hello:

This pull request was applied to jaegeuk/f2fs.git (dev)
by Linus Torvalds <torvalds@linux-foundation.org>:

On Mon, 24 Mar 2025 17:00:18 +0000 you wrote:
> Hi Linus,
> 
> Could you please consider this pull request?
> 
> Thanks,
> 
> The following changes since commit f286757b644c226b6b31779da95a4fa7ab245ef5:
> 
> [...]

Here is the summary with links:
  - [f2fs-dev,GIT,PULL] f2fs update for 6.15-rc1
    https://git.kernel.org/jaegeuk/f2fs/c/81d8e5e21322

You are awesome, thank you!