commit | 75de55acafe8663389449517621da67347354d62 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Apr 10 20:52:40 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Apr 10 20:52:40 2008 +0200 |
tree | da2ab1678353ed2ee65d2abd3046e1b0b3b43c79 | |
parent | 15ca150e8dbfd68aa5beb479fcb3f07447417a04 [diff] [blame] |
libaio: Add hint on libaio engine init failing If io_queue_init() fails, it's likely due to a lack of aio request resources. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/engines/libaio.c b/engines/libaio.c index eea8f55..7ef3ff8 100644 --- a/engines/libaio.c +++ b/engines/libaio.c
@@ -194,6 +194,7 @@ err = io_queue_init(td->o.iodepth, &ld->aio_ctx); if (err) { td_verror(td, -err, "io_queue_init"); + log_err("fio: check /proc/sys/fs/aio-max-nr\n"); free(ld); return 1; }