Error check fcntl() calls
authorJens Axboe <axboe@fb.com>
Mon, 14 Apr 2014 16:04:21 +0000 (10:04 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 14 Apr 2014 16:04:21 +0000 (10:04 -0600)
commit4a851614cfdbebddeb78de04ac89a39d26f25459
tree0b6fcc59544eec5095fff14dd882899ddbaf235b
parentc5c65506c564862c25c41e588d65bb4bfcf49d62
Error check fcntl() calls

Add a helper to mark an fd as non-blocking, so we can check
and complain in one place.

Signed-off-by: Jens Axboe <axboe@fb.com>
engines/binject.c
engines/sg.c
fio.h
libfio.c
server.c