path: root/memory.c
diff options
authorJens Axboe <>2007-07-19 10:09:45 +0200
committerJens Axboe <>2007-07-19 10:09:45 +0200
commitc7173db634637926296ba8a9201bc8edcddbc1a3 (patch)
treeeb645c8f30d86614b762f4b6e3f15f2d20cd9e61 /memory.c
parent886b878aed5decd6fdc6c61d2f11aa5b960b4f1c (diff)
Add clue for ENOMEM hugepage allocation
Signed-off-by: Jens Axboe <>
Diffstat (limited to 'memory.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/memory.c b/memory.c
index efbea04..46eb852 100644
--- a/memory.c
+++ b/memory.c
@@ -70,6 +70,8 @@ static int alloc_mem_shm(struct thread_data *td)
log_err("fio: check that you have free huge pages and that hugepage-size is correct.\n");
else if (errno == ENOSYS)
log_err("fio: your system does not appear to support huge pages.\n");
+ else if (errno == ENOMEM)
+ log_err("fio: no huge pages available, do you need to alocate some? See HOWTO.\n");
return 1;