• Linus Torvalds's avatar
    Merge tag 'f2fs-for-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 1501f707
    Linus Torvalds authored
    Pull f2fs updates from Jaegeuk Kim:
     "In this round, we've refactored the existing atomic write support
      implemented by in-memory operations to have storing data in disk
      temporarily, which can give us a benefit to accept more atomic writes.
    
      At the same time, we removed the existing volatile write support.
    
      We've also revisited the file pinning and GC flows and found some
      corner cases which contributeed abnormal system behaviours.
    
      As usual, there're several minor code refactoring for readability,
      sanity check, and clean ups.
    
      Enhancements:
    
       - allow compression for mmap files in compress_mode=user
    
       - kill volatile write support
    
       - change the current atomic write way
    
       - give priority to select unpinned section for foreground GC
    
       - introduce data read/write showing path info
    
       - remove unnecessary f2fs_lock_op in f2fs_new_inode
    
      Bug fixes:
    
       - fix the file pinning flow during checkpoint=disable and GCs
    
       - fix foreground and background GCs to select the right victims and
         get free sections on time
    
       - fix GC flags on defragmenting pages
    
       - avoid an infinite loop to flush node pages
    
       - fix fallocate to use file_modified to update permissions
         consistently"
    
    * tag 'f2fs-for-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (40 commits)
      f2fs: fix to tag gcing flag on page during file defragment
      f2fs: replace F2FS_I(inode) and sbi by the local variable
      f2fs: add f2fs_init_write_merge_io function
      f2fs: avoid unneeded error handling for revoke_entry_slab allocation
      f2fs: allow compression for mmap files in compress_mode=user
      f2fs: fix typo in comment
      f2fs: make f2fs_read_inline_data() more readable
      f2fs: fix to do sanity check for inline inode
      f2fs: fix fallocate to use file_modified to update permissions consistently
      f2fs: don't use casefolded comparison for "." and ".."
      f2fs: do not stop GC when requiring a free section
      f2fs: keep wait_ms if EAGAIN happens
      f2fs: introduce f2fs_gc_control to consolidate f2fs_gc parameters
      f2fs: reject test_dummy_encryption when !CONFIG_FS_ENCRYPTION
      f2fs: kill volatile write support
      f2fs: change the current atomic write way
      f2fs: don't need inode lock for system hidden quota
      f2fs: stop allocating pinned sections if EAGAIN happens
      f2fs: skip GC if possible when checkpoint disabling
      f2fs: give priority to select unpinned section for foreground GC
      ...
    1501f707
node.c 81.4 KB