Chris Mason cb843a6f51 Btrfs: O_DIRECT writes via buffered writes + invaldiate
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: Chris Mason <chris.mason@oracle.com>
2008-10-03 12:30:02 -04:00
..
2008-09-25 11:04:07 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2007-06-12 09:07:21 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-25 11:04:07 -04:00
2008-09-25 11:04:06 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-25 11:04:06 -04:00
2007-06-22 14:49:31 -04:00
2008-09-25 11:04:03 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-25 11:04:07 -04:00
2008-09-25 11:04:06 -04:00
2008-09-25 11:04:07 -04:00
2008-09-25 11:04:07 -04:00