06-07-2010
20,
0
Join Date: Feb 2010
Last Activity: 12 October 2012, 3:48 PM EDT
Posts: 20
Thanks Given: 6
Thanked 0 Times in 0 Posts
When moving data in XFS file systems (using custom software), I can drive the disk arrays harder with non-buffered I/O, thus I like to open with O_DIRECT. That is, direct I/O is *way* faster in this case.
One of the checks I would like to do in a wrapper script is check if direct I/O support is available in the underlying file system to determine what flags to pass to the custom software.