[PATCH] Support for hugetlb backed shared memory
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 16d5523feb6bf2af4f5f3684010645ceae95ccec..c4facfbe995b2f0ed20e88353fb645a528721ec9 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -123,6 +123,7 @@ struct group_run_stats {
 enum fio_memtype {
        MEM_MALLOC = 0, /* ordinary malloc */
        MEM_SHM,        /* use shared memory segments */
+       MEM_SHMHUGE,    /* use shared memory segments with huge pages */
        MEM_MMAP,       /* use anonynomous mmap */
 };
 
@@ -160,6 +161,8 @@ struct fio_file {
 
        unsigned long *file_map;
        unsigned int num_maps;
+
+       unsigned int unlink;
 };
 
 /*