]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge tag 'f2fs-for-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeu...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Dec 2025 03:06:20 +0000 (12:06 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Dec 2025 03:06:20 +0000 (12:06 +0900)
Pull f2fs updates from Jaegeuk Kim:
 "This series focuses on minor clean-ups and performance optimizations
  across sysfs, documentation, debugfs, tracepoints, slab allocation,
  and GC. Furthermore, it resolves several corner-case bugs caught by
  xfstests, as well as issues related to 16KB page support and
  f2fs_enable_checkpoint.

  Enhancement:
   - wrap ASCII tables in literal blocks to fix LaTeX build
   - optimize trace_f2fs_write_checkpoint with enums
   - support to show curseg.next_blkoff in debugfs
   - add a sysfs entry to show max open zones
   - add fadvise tracepoint
   - use global inline_xattr_slab instead of per-sb slab cache
   - set default valid_thresh_ratio to 80 for zoned devices
   - maintain one time GC mode is enabled during whole zoned GC cycle

  Bug fix:
   - ensure node page reads complete before f2fs_put_super() finishes
   - do not account invalid blocks in get_left_section_blocks()
   - revert summary entry count from 2048 to 512 in 16kb block support
   - detect recoverable inode during dryrun of find_fsync_dnodes()
   - fix age extent cache insertion skip on counter overflow
   - add sanity checks before unlinking and loading inodes
   - ensure minimum trim granularity accounts for all devices
   - block cache/dio write during f2fs_enable_checkpoint()
   - propagate error from f2fs_enable_checkpoint()
   - invalidate dentry cache on failed whiteout creation
   - avoid updating compression context during writeback
   - avoid updating zero-sized extent in extent cache
   - avoid potential deadlock"

* tag 'f2fs-for-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (39 commits)
  f2fs: ignore discard return value
  f2fs: optimize trace_f2fs_write_checkpoint with enums
  f2fs: fix to not account invalid blocks in get_left_section_blocks()
  f2fs: support to show curseg.next_blkoff in debugfs
  docs: f2fs: wrap ASCII tables in literal blocks to fix LaTeX build
  f2fs: expand scalability of f2fs mount option
  f2fs: change default schedule timeout value
  f2fs: introduce f2fs_schedule_timeout()
  f2fs: use memalloc_retry_wait() as much as possible
  f2fs: add a sysfs entry to show max open zones
  f2fs: wrap all unusable_blocks_per_sec code in CONFIG_BLK_DEV_ZONED
  f2fs: simplify list initialization in f2fs_recover_fsync_data()
  f2fs: revert summary entry count from 2048 to 512 in 16kb block support
  f2fs: fix to detect recoverable inode during dryrun of find_fsync_dnodes()
  f2fs: fix return value of f2fs_recover_fsync_data()
  f2fs: add fadvise tracepoint
  f2fs: fix age extent cache insertion skip on counter overflow
  f2fs: Add sanity checks before unlinking and loading inodes
  f2fs: Rename f2fs_unlink exit label
  f2fs: ensure minimum trim granularity accounts for all devices
  ...

1  2 
fs/f2fs/compress.c
fs/f2fs/data.c
fs/f2fs/inode.c
fs/f2fs/namei.c
fs/f2fs/super.c

Simple merge
diff --cc fs/f2fs/data.c
Simple merge
diff --cc fs/f2fs/inode.c
Simple merge
diff --cc fs/f2fs/namei.c
index af40282a6948e5b7b9001ca5964993064417fd0a,1530314e8b923cacd7a21b4ae0356401fcc1049f..043d20516a21c1d6897721bd62ae1d04aacb50d2
@@@ -1053,11 -1060,13 +1060,13 @@@ static int f2fs_rename(struct mnt_idma
        if (whiteout) {
                set_inode_flag(whiteout, FI_INC_LINK);
                err = f2fs_add_link(old_dentry, whiteout);
-               if (err)
+               if (err) {
+                       d_invalidate(old_dentry);
+                       d_invalidate(new_dentry);
                        goto put_out_dir;
+               }
                spin_lock(&whiteout->i_lock);
 -              whiteout->i_state &= ~I_LINKABLE;
 +              inode_state_clear(whiteout, I_LINKABLE);
                spin_unlock(&whiteout->i_lock);
  
                iput(whiteout);
diff --cc fs/f2fs/super.c
Simple merge