• Linus Torvalds's avatar
    Merge tag 'iomap-5.5-merge-11' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 3b266a52
    Linus Torvalds authored
    Pull iomap updates from Darrick Wong:
     "In this release, we hoisted as much of XFS' writeback code into iomap
      as was practicable, refactored the unshare file data function, added
      the ability to perform buffered io copy on write, and tweaked various
      parts of the directio implementation as needed to port ext4's directio
      code (that will be a separate pull).
    
      Summary:
    
       - Make iomap_dio_rw callers explicitly tell us if they want us to
         wait
    
       - Port the xfs writeback code to iomap to complete the buffered io
         library functions
    
       - Refactor the unshare code to share common pieces
    
       - Add support for performing copy on write with buffered writes
    
       - Other minor fixes
    
       - Fix unchecked return in iomap_bmap
    
       - Fix a type casting bug in a ternary statement in
         iomap_dio_bio_actor
    
       - Improve tracepoints for easier diagnostic ability
    
       - Fix pipe page leakage in directio reads"
    
    * tag 'iomap-5.5-merge-11' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (31 commits)
      iomap: Fix pipe page leakage during splicing
      iomap: trace iomap_appply results
      iomap: fix return value of iomap_dio_bio_actor on 32bit systems
      iomap: iomap_bmap should check iomap_apply return value
      iomap: Fix overflow in iomap_page_mkwrite
      fs/iomap: remove redundant check in iomap_dio_rw()
      iomap: use a srcmap for a read-modify-write I/O
      iomap: renumber IOMAP_HOLE to 0
      iomap: use write_begin to read pages to unshare
      iomap: move the zeroing case out of iomap_read_page_sync
      iomap: ignore non-shared or non-data blocks in xfs_file_dirty
      iomap: always use AOP_FLAG_NOFS in iomap_write_begin
      iomap: remove the unused iomap argument to __iomap_write_end
      iomap: better document the IOMAP_F_* flags
      iomap: enhance writeback error message
      iomap: pass a struct page to iomap_finish_page_writeback
      iomap: cleanup iomap_ioend_compare
      iomap: move struct iomap_page out of iomap.h
      iomap: warn on inline maps in iomap_writepage_map
      iomap: lift the xfs writeback code to iomap
      ...
    3b266a52
dax.c 46 KB