Btrfs: Direct I/O read rebased.
v3 cover Btrfs: Direct I/O read rebased.
Here is the complete direct I/O read patch series rebased onto the current btrfs-unstable and tested against 2.6.33.
I have not done clean up of the diocb/extcb and did not simplify the user memory handling yet.
There still is a problem with the wakeup of the submit thread in btrfs_dio_wait(). With fsx on a 2-core x86-64 it will eventually hang, as in within 2 hours. Either I am missing the wakeup or miscounting the done state and going back to sleep with all I/O finished.
jim