aboutsummaryrefslogtreecommitdiff
path: root/sys/fio/mmap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fio/mmap.inc')
-rw-r--r--sys/fio/mmap.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/fio/mmap.inc b/sys/fio/mmap.inc
new file mode 100644
index 00000000..aebc0f27
--- /dev/null
+++ b/sys/fio/mmap.inc
@@ -0,0 +1,8 @@
+# map 6 file modes into one of five simpler modes
+int mmap[TEMP_FILE]
+data mmap[READ_ONLY] /READ_ONLY/
+data mmap[READ_WRITE] /READ_WRITE/
+data mmap[WRITE_ONLY] /WRITE_ONLY/
+data mmap[APPEND] /APPEND/
+data mmap[NEW_FILE] /NEW_FILE/
+data mmap[TEMP_FILE] /NEW_FILE/