projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add mmapshared option to use mmaped files with the MAP_SHARED flag.
[fio.git]
/
thread_options.h
diff --git
a/thread_options.h
b/thread_options.h
index 5ef560ef157d02e58f7c42f74f5a0780a9feefc0..ed960eeb2861de263d3ac036d3e55483ab008396 100644
(file)
--- a/
thread_options.h
+++ b/
thread_options.h
@@
-19,6
+19,7
@@
enum fio_memtype {
MEM_SHMHUGE, /* use shared memory segments with huge pages */
MEM_MMAP, /* use anonynomous mmap */
MEM_MMAPHUGE, /* memory mapped huge file */
+ MEM_MMAPSHARED, /* use mmap with shared flag */
};
#define ERROR_STR_MAX 128