Skip to content
Snippets Groups Projects
Select Git revision
  • cb843a6f513a1a91c54951005e60bd9b95bdf973
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

ordered-data.c

  • Chris Mason's avatar
    cb843a6f
    Btrfs: O_DIRECT writes via buffered writes + invaldiate · cb843a6f
    Chris Mason authored
    
    This reworks the btrfs O_DIRECT write code a bit.  It had always fallen
    back to buffered IO and done an invalidate, but needed to be updated
    for the data=ordered code.  The invalidate wasn't actually removing pages
    because they were still inside an ordered extent.
    
    This also combines the O_DIRECT/O_SYNC paths where possible, and kicks
    off IO in the main btrfs_file_write loop to keep the pipe down the the
    disk full as we process long writes.
    
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    cb843a6f
    History
    Btrfs: O_DIRECT writes via buffered writes + invaldiate
    Chris Mason authored
    
    This reworks the btrfs O_DIRECT write code a bit.  It had always fallen
    back to buffered IO and done an invalidate, but needed to be updated
    for the data=ordered code.  The invalidate wasn't actually removing pages
    because they were still inside an ordered extent.
    
    This also combines the O_DIRECT/O_SYNC paths where possible, and kicks
    off IO in the main btrfs_file_write loop to keep the pipe down the the
    disk full as we process long writes.
    
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>