• Linus Torvalds's avatar
    Merge tag 'f2fs-for-6.10.rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 72ece201
    Linus Torvalds authored
    Pull f2fs updates from Jaegeuk Kim:
     "In this round, we've tried to address some performance issues on zoned
      storage such as direct IO and write_hints. In addition, we've migrated
      some IO paths using folio. Meanwhile, there are multiple bug fixes in
      the compression paths, sanity check conditions, and error handlers.
    
      Enhancements:
       - allow direct io of pinned files for zoned storage
       - assign the write hint per stream by default
       - convert read paths and test_writeback to folio
       - avoid allocating WARM_DATA segment for direct IO
    
      Bug fixes:
       - fix false alarm on invalid block address
       - fix to add missing iput() in gc_data_segment()
       - fix to release node block count in error path of
         f2fs_new_node_page()
       - compress:
           - don't allow unaligned truncation on released compress inode
           - cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
           - fix error path of inc_valid_block_count()
           - fix to update i_compr_blocks correctly
       - fix block migration when section is not aligned to pow2
       - don't trigger OPU on pinfile for direct IO
       - fix to do sanity check on i_xattr_nid in sanity_check_inode()
       - write missing last sum blk of file pinning section
       - clear writeback when compression failed
       - fix to adjust appropirate defragment pg_end
    
      As usual, there are several minor code clean-ups, and fixes to manage
      missing corner cases in the error paths"
    
    * tag 'f2fs-for-6.10.rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (50 commits)
      f2fs: initialize last_block_in_bio variable
      f2fs: Add inline to f2fs_build_fault_attr() stub
      f2fs: fix some ambiguous comments
      f2fs: fix to add missing iput() in gc_data_segment()
      f2fs: allow dirty sections with zero valid block for checkpoint disabled
      f2fs: compress: don't allow unaligned truncation on released compress inode
      f2fs: fix to release node block count in error path of f2fs_new_node_page()
      f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
      f2fs: compress: fix error path of inc_valid_block_count()
      f2fs: compress: fix typo in f2fs_reserve_compress_blocks()
      f2fs: compress: fix to update i_compr_blocks correctly
      f2fs: check validation of fault attrs in f2fs_build_fault_attr()
      f2fs: fix to limit gc_pin_file_threshold
      f2fs: remove unused GC_FAILURE_PIN
      f2fs: use f2fs_{err,info}_ratelimited() for cleanup
      f2fs: fix block migration when section is not aligned to pow2
      f2fs: zone: fix to don't trigger OPU on pinfile for direct IO
      f2fs: fix to do sanity check on i_xattr_nid in sanity_check_inode()
      f2fs: fix to avoid allocating WARM_DATA segment for direct IO
      f2fs: remove redundant parameter in is_next_segment_free()
      ...
    72ece201
data.c 103 KB