libeatmydata icon indicating copy to clipboard operation
libeatmydata copied to clipboard

Add support for O_DIRECT

Open laurynas-biveinis opened this issue 6 years ago • 1 comments

O_DIRECT is documented to "Try to minimize cache effects of the I/O to and from this file.", thus it might be doing the opposite in libeatmydata might be desirable. A challenge would be to check for alignment / block size violations, for which EINVAL should be returned instead of performing the I/O in buffered mode.

laurynas-biveinis avatar Aug 22 '17 03:08 laurynas-biveinis