Add a more verbose/immediate warning if we fail open with O_DIRECT
authorJens Axboe <axboe@kernel.dk>
Mon, 11 Jun 2012 06:53:53 +0000 (08:53 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Jun 2012 06:53:53 +0000 (08:53 +0200)
commita93c5f049da63a60f9962177d8ada50094d234de
tree4168bca7290591ba10208ced2c62a55c86a070f3
parentd39879467ccb7f136815be0ba7fd283524c2dafb
Add a more verbose/immediate warning if we fail open with O_DIRECT

If we get EINVAL with O_DIRECT open of the file, then that means
that the file system does not support direct IO. Warn as such
from fio.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
filesetup.c