[PATCH] Fix a bunch of bugs
authorJens Axboe <jens.axboe@oracle.com>
Thu, 19 Oct 2006 18:26:22 +0000 (20:26 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 19 Oct 2006 18:26:22 +0000 (20:26 +0200)
commit84585003d025a38b91749cb0d68f6b5653d1f1a3
treec5e6ae839aadc9de1f68a683d05323e151ebf80e
parent7313b48c3196b4750f4103e8622126039e2231c6
[PATCH] Fix a bunch of bugs

- engines/fio-engine-libaio.o needs to link against -laio and fio need not
  anymore. This caused funky crashes with libaio io engine.

- Fix a few bugs in the libaio engine.

- Only do sync/cleanup in do_io() if we exit without error.

- ->io_ops may be NULL in reap_threads(), if the job exited.

- Allocate io engine, don't reuse the dlopen() object.

- Overlapping sprintf() in init_disk_util().

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Makefile
engines/Makefile
engines/fio-engine-libaio.c
fio.c
ioengines.c
stat.c