• Linus Torvalds's avatar
    Merge tag 'f2fs-for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 7a3daded
    Linus Torvalds authored
    Pull f2fs updates from Jaegeuk Kim:
     "In this round, we've added new features such as zone capacity for ZNS
      and a new GC policy, ATGC, along with in-memory segment management. In
      addition, we could improve the decompression speed significantly by
      changing virtual mapping method. Even though we've fixed lots of small
      bugs in compression support, I feel that it becomes more stable so
      that I could give it a try in production.
    
      Enhancements:
       - suport zone capacity in NVMe Zoned Namespace devices
       - introduce in-memory current segment management
       - add standart casefolding support
       - support age threshold based garbage collection
       - improve decompression speed by changing virtual mapping method
    
      Bug fixes:
       - fix condition checks in some ioctl() such as compression, move_range, etc
       - fix 32/64bits support in data structures
       - fix memory allocation in zstd decompress
       - add some boundary checks to avoid kernel panic on corrupted image
       - fix disallowing compression for non-empty file
       - fix slab leakage of compressed block writes
    
      In addition, it includes code refactoring for better readability and
      minor bug fixes for compression and zoned device support"
    
    * tag 'f2fs-for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (51 commits)
      f2fs: code cleanup by removing unnecessary check
      f2fs: wait for sysfs kobject removal before freeing f2fs_sb_info
      f2fs: fix writecount false positive in releasing compress blocks
      f2fs: introduce check_swap_activate_fast()
      f2fs: don't issue flush in f2fs_flush_device_cache() for nobarrier case
      f2fs: handle errors of f2fs_get_meta_page_nofail
      f2fs: fix to set SBI_NEED_FSCK flag for inconsistent inode
      f2fs: reject CASEFOLD inode flag without casefold feature
      f2fs: fix memory alignment to support 32bit
      f2fs: fix slab leak of rpages pointer
      f2fs: compress: fix to disallow enabling compress on non-empty file
      f2fs: compress: introduce cic/dic slab cache
      f2fs: compress: introduce page array slab cache
      f2fs: fix to do sanity check on segment/section count
      f2fs: fix to check segment boundary during SIT page readahead
      f2fs: fix uninit-value in f2fs_lookup
      f2fs: remove unneeded parameter in find_in_block()
      f2fs: fix wrong total_sections check and fsmeta check
      f2fs: remove duplicated code in sanity_check_area_boundary
      f2fs: remove unused check on version_bitmap
      ...
    7a3daded
dir.c 27 KB