• Linus Torvalds's avatar
    Merge tag 'f2fs-for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 79952bdc
    Linus Torvalds authored
    Pull f2fs updates from Jaegeuk Kim:
     "The main changes include converting major IO paths to use folio, and
      adding various knobs to control GC more flexibly for Zoned devices.
    
      In addition, there are several patches to address corner cases of
      atomic file operations and better support for file pinning on zoned
      device.
    
      Enhancement:
       - add knobs to tune foreground/background GCs for Zoned devices
       - convert IO paths to use folio
       - reduce expensive checkpoint trigger frequency
       - allow F2FS_IPU_NOCACHE for pinned file
       - forcibly migrate to secure space for zoned device file pinning
       - get rid of buffer_head use
       - add write priority option based on zone UFS
       - get rid of online repair on corrupted directory
    
      Bug fixes:
       - fix to don't panic system for no free segment fault injection
       - fix to don't set SB_RDONLY in f2fs_handle_critical_error()
       - avoid unused block when dio write in LFS mode
       - compress: don't redirty sparse cluster during {,de}compress
       - check discard support for conventional zones
       - atomic: prevent atomic file from being dirtied before commit
       - atomic: fix to check atomic_file in f2fs ioctl interfaces
       - atomic: fix to forbid dio in atomic_file
       - atomic: fix to truncate pagecache before on-disk metadata truncation
       - atomic: create COW inode from parent dentry
       - atomic: fix to avoid racing w/ GC
       - atomic: require FMODE_WRITE for atomic write ioctls
       - fix to wait page writeback before setting gcing flag
       - fix to avoid racing in between read and OPU dio write, dio completion
       - fix several potential integer overflows in file offsets and dir_block_index
       - fix to avoid use-after-free in f2fs_stop_gc_thread()
    
      As usual, there are several code clean-ups and refactorings"
    
    * tag 'f2fs-for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (60 commits)
      f2fs: allow F2FS_IPU_NOCACHE for pinned file
      f2fs: forcibly migrate to secure space for zoned device file pinning
      f2fs: remove unused parameters
      f2fs: fix to don't panic system for no free segment fault injection
      f2fs: fix to don't set SB_RDONLY in f2fs_handle_critical_error()
      f2fs: add valid block ratio not to do excessive GC for one time GC
      f2fs: create gc_no_zoned_gc_percent and gc_boost_zoned_gc_percent
      f2fs: do FG_GC when GC boosting is required for zoned devices
      f2fs: increase BG GC migration window granularity when boosted for zoned devices
      f2fs: add reserved_segments sysfs node
      f2fs: introduce migration_window_granularity
      f2fs: make BG GC more aggressive for zoned devices
      f2fs: avoid unused block when dio write in LFS mode
      f2fs: fix to check atomic_file in f2fs ioctl interfaces
      f2fs: get rid of online repaire on corrupted directory
      f2fs: prevent atomic file from being dirtied before commit
      f2fs: get rid of page->index
      f2fs: convert read_node_page() to use folio
      f2fs: convert __write_node_page() to use folio
      f2fs: convert f2fs_write_data_page() to use folio
      ...
    79952bdc
super.c 132 KB