[PATCH] Support for mmap of hugetlb files as memory backing

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h
index c4facfb..432c098 100644
--- a/fio.h
+++ b/fio.h
@@ -125,6 +125,7 @@
 	MEM_SHM,	/* use shared memory segments */
 	MEM_SHMHUGE,	/* use shared memory segments with huge pages */
 	MEM_MMAP,	/* use anonynomous mmap */
+	MEM_MMAPHUGE,	/* memory mapped huge file */
 };
 
 /*
@@ -224,6 +225,8 @@
 	unsigned long long zone_size;
 	unsigned long long zone_skip;
 	enum fio_memtype mem_type;
+	char *hugefile;
+	int hugefd;
 	unsigned int stonewall;
 	unsigned int numjobs;
 	unsigned int iodepth;