You need to sign in or sign up before continuing.
  • Linus Torvalds's avatar
    Merge tag 'iomap-5.20-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · f18d7309
    Linus Torvalds authored
    Pull iomap updates from Darrick Wong:
     "The most notable change in this first batch is that we no longer
      schedule pages beyond i_size for writeback, preferring instead to let
      truncate deal with those pages.
    
      Next week, there may be a second pull request to remove
      iomap_writepage from the other two filesystems (gfs2/zonefs) that use
      iomap for buffered IO. This follows in the same vein as the recent
      removal of writepage from XFS, since it hasn't been triggered in a few
      years; it does nothing during direct reclaim; and as far as the people
      who examined the patchset can tell, it's moving the codebase in the
      right direction.
    
      However, as it was a late addition to for-next, I'm holding off on
      that section for another week of testing to see if anyone can come up
      with a solid reason for holding off in the meantime.
    
      Summary:
    
       - Skip writeback for pages that are completely beyond EOF
    
       - Minor code cleanups"
    
    * tag 'iomap-5.20-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
      dax: set did_zero to true when zeroing successfully
      iomap: set did_zero to true when zeroing successfully
      iomap: skip pages past eof in iomap_do_writepage()
    f18d7309
buffered-io.c 43.7 KB