• Linus Torvalds's avatar
    Merge tag 'f2fs-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 73a3fcda
    Linus Torvalds authored
    Pull f2fs updates from Jaegeuk Kim:
     "In this cycle, we've mainly investigated the zoned block device
      support along with patches such as correcting write pointers between
      f2fs and storage, adding asynchronous zone reset flow, and managing
      the number of open zones.
    
      Other than them, f2fs adds another mount option, "errors=x" to specify
      how to handle when it detects an unexpected behavior at runtime.
    
      Enhancements:
       - support 'errors=remount-ro|continue|panic' mount option
       - enforce some inode flag policies
       - allow .tmp compression given extensions
       - add some ioctls to manage the f2fs compression
       - improve looped node chain flow
       - avoid issuing small-sized discard commands during checkpoint
       - implement an asynchronous zone reset
    
      Bug fixes:
       - fix deadlock in xattr and inode page lock
       - fix and add sanity check in some error paths
       - fix to avoid NULL pointer dereference f2fs_write_end_io() along
         with put_super
       - set proper flags to quota files
       - fix potential deadlock due to unpaired node_write lock use
       - fix over-estimating free section during FG GC
       - fix the wrong condition to determine atomic context
    
      As usual, also there are a number of patches with code refactoring and
      minor clean-ups"
    
    * tag 'f2fs-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (46 commits)
      f2fs: fix to do sanity check on direct node in truncate_dnode()
      f2fs: only set release for file that has compressed data
      f2fs: fix compile warning in f2fs_destroy_node_manager()
      f2fs: fix error path handling in truncate_dnode()
      f2fs: fix deadlock in i_xattr_sem and inode page lock
      f2fs: remove unneeded page uptodate check/set
      f2fs: update mtime and ctime in move file range method
      f2fs: compress tmp files given extension
      f2fs: refactor struct f2fs_attr macro
      f2fs: convert to use sbi directly
      f2fs: remove redundant assignment to variable err
      f2fs: do not issue small discard commands during checkpoint
      f2fs: check zone write pointer points to the end of zone
      f2fs: add f2fs_ioc_get_compress_blocks
      f2fs: cleanup MIN_INLINE_XATTR_SIZE
      f2fs: add helper to check compression level
      f2fs: set FMODE_CAN_ODIRECT instead of a dummy direct_IO method
      f2fs: do more sanity check on inode
      f2fs: compress: fix to check validity of i_compress_flag field
      f2fs: add sanity compress level check for compressed file
      ...
    73a3fcda
file.c 119 KB