• Linus Torvalds's avatar
    Merge tag 'f2fs-for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 6e135bae
    Linus Torvalds authored
    Pull f2fs updates from Jaegeuk Kim:
     "In this series, we've implemented transparent compression
      experimentally. It supports LZO and LZ4, but will add more later as we
      investigate in the field more.
    
      At this point, the feature doesn't expose compressed space to user
      directly in order to guarantee potential data updates later to the
      space. Instead, the main goal is to reduce data writes to flash disk
      as much as possible, resulting in extending disk life time as well as
      relaxing IO congestion.
    
      Alternatively, we're also considering to add ioctl() to reclaim
      compressed space and show it to user after putting the immutable bit.
    
      Enhancements:
       - add compression support
       - avoid unnecessary locks in quota ops
       - harden power-cut scenario for zoned block devices
       - use private bio_set to avoid IO congestion
       - replace GC mutex with rwsem to serialize callers
    
      Bug fixes:
       - fix dentry consistency and memory corruption in rename()'s error case
       - fix wrong swap extent reports
       - fix casefolding bugs
       - change lock coverage to avoid deadlock
       - avoid GFP_KERNEL under f2fs_lock_op
    
      And, we've cleaned up sysfs entries to prepare no debugfs"
    
    * tag 'f2fs-for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (31 commits)
      f2fs: fix race conditions in ->d_compare() and ->d_hash()
      f2fs: fix dcache lookup of !casefolded directories
      f2fs: Add f2fs stats to sysfs
      f2fs: delete duplicate information on sysfs nodes
      f2fs: change to use rwsem for gc_mutex
      f2fs: update f2fs document regarding to fsync_mode
      f2fs: add a way to turn off ipu bio cache
      f2fs: code cleanup for f2fs_statfs_project()
      f2fs: fix miscounted block limit in f2fs_statfs_project()
      f2fs: show the CP_PAUSE reason in checkpoint traces
      f2fs: fix deadlock allocating bio_post_read_ctx from mempool
      f2fs: remove unneeded check for error allocating bio_post_read_ctx
      f2fs: convert inline_dir early before starting rename
      f2fs: fix memleak of kobject
      f2fs: fix to add swap extent correctly
      f2fs: run fsck when getting bad inode during GC
      f2fs: support data compression
      f2fs: free sysfs kobject
      f2fs: declare nested quota_sem and remove unnecessary sems
      f2fs: don't put new_page twice in f2fs_rename
      ...
    6e135bae
dir.c 27.1 KB