Use RUSAGE_THREAD, if available

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Add lib/getrusage.c

Abstract out the SELF/THREAD complication.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: add that windows has RUSGE_THREAD

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Correct ifdef checks for posix and linux fallocate

Signed-off-by: Jens Axboe <axboe@kernel.dk>
hash: make 64-bit type ULL

Signed-off-by: Jens Axboe <axboe@kernel.dk>
NAN: use __builtin_nanf() if not available

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: fix more old FIO_HAVE_ checks

Signed-off-by: Jens Axboe <axboe@kernel.dk>
options: add help to experimental_verify

Option help is required...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: solaris and windowsaio fixups

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: kill windows FIO_HAVE_FDATASYNC

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Drop EXTFLAG and lib references

They are picked up automatically now.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: auto-generate a config-host.h

Don't have all these special cases to convert a .mak to a .h define,
just generate it from the configure script instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: add configure header to config-host.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile: remove config-host.ld

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: HPUX warning for empty CC

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Fix getopt def check

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Always fsync if asked to

Currently we don't fsync() is direct IO is issued. But if the
user asked for fsync(), he should get an fsync. So remove this
restriction.

Reported-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Fix Windows build by defining clock sources and adding include file.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: add --extra-cflags

And ensure that -D_GNU_SOURCE is being set for configure test
programs too.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: enable --extra-cflags for Windows

Add configure help as well.

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