• Linus Torvalds's avatar
    Merge tag 'iomap-6.6-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 6016fc91
    Linus Torvalds authored
    Pull iomap updates from Darrick Wong:
     "We've got some big changes for this release -- I'm very happy to be
      landing willy's work to enable large folios for the page cache for
      general read and write IOs when the fs can make contiguous space
      allocations, and Ritesh's work to track sub-folio dirty state to
      eliminate the write amplification problems inherent in using large
      folios.
    
      As a bonus, io_uring can now process write completions in the caller's
      context instead of bouncing through a workqueue, which should reduce
      io latency dramatically. IOWs, XFS should see a nice performance bump
      for both IO paths.
    
      Summary:
    
       - Make large writes to the page cache fill sparse parts of the cache
         with large folios, then use large memcpy calls for the large folio.
    
       - Track the per-block dirty state of each large folio so that a
         buffered write to a single byte on a large folio does not result in
         a (potent...
    6016fc91
bmap.c 64.4 KB