• Linus Torvalds's avatar
    Merge tag 'f2fs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 1d1df41c
    Linus Torvalds authored
    Pull f2fs updates from Jaegeuk Kim:
     "In this round, we've tried to address some performance issues in
      f2fs_checkpoint and direct IO flows. Also, there was a work to enhance
      the page cache management used for compression. Other than them, we've
      done typical work including sysfs, code clean-ups, tracepoint, sanity
      check, in addition to bug fixes on corner cases.
    
      Enhancements:
       - use iomap for direct IO
       - try to avoid lock contention to improve f2fs_ckpt speed
       - avoid unnecessary memory allocation in compression flow
       - POSIX_FADV_DONTNEED drops the page cache containing compression
         pages
       - add some sysfs entries (gc_urgent_high_remaining, pending_discard)
    
      Bug fixes:
       - try not to expose unwritten blocks to user by DIO (this was added
         to avoid merge conflict; another patch is coming to address other
         missing case)
       - relax minor error condition for file pinning feature used in
         Android OTA
       - fix potential deadlock case in compression flow
       - should not truncate any block on pinned file
    
      In addition, we've done some code clean-ups and tracepoint/sanity
      check improvement"
    
    * tag 'f2fs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (29 commits)
      f2fs: do not allow partial truncation on pinned file
      f2fs: remove redunant invalidate compress pages
      f2fs: Simplify bool conversion
      f2fs: don't drop compressed page cache in .{invalidate,release}page
      f2fs: fix to reserve space for IO align feature
      f2fs: fix to check available space of CP area correctly in update_ckpt_flags()
      f2fs: support fault injection to f2fs_trylock_op()
      f2fs: clean up __find_inline_xattr() with __find_xattr()
      f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
      f2fs: do not bother checkpoint by f2fs_get_node_info
      f2fs: avoid down_write on nat_tree_lock during checkpoint
      f2fs: compress: fix potential deadlock of compress file
      f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
      f2fs: add gc_urgent_high_remaining sysfs node
      f2fs: fix to do sanity check in is_alive()
      f2fs: fix to avoid panic in is_alive() if metadata is inconsistent
      f2fs: fix to do sanity check on inode type during garbage collection
      f2fs: avoid duplicate call of mark_inode_dirty
      f2fs: show number of pending discard commands
      f2fs: support POSIX_FADV_DONTNEED drop compressed page cache
      ...
    1d1df41c
recovery.c 20.9 KB