Update documentation for mmapshared (MMAP_SHARED)
authorJens Axboe <axboe@fb.com>
Wed, 28 Oct 2015 05:04:24 +0000 (14:04 +0900)
committerJens Axboe <axboe@fb.com>
Wed, 28 Oct 2015 05:04:24 +0000 (14:04 +0900)
Signed-off-by: Jens Axboe <axboe@fb.com>
HOWTO
fio.1

diff --git a/HOWTO b/HOWTO
index 40233bd90e5c1cf43a47541b8367506a46327dc5..81217b77906a6956d1e6bd8ebd70c2986dbb6348 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -1177,6 +1177,9 @@ mem=str           Fio can use various types of memory as the io unit buffer.
                                backing. Append filename after mmaphuge, ala
                                mem=mmaphuge:/hugetlbfs/file
 
                                backing. Append filename after mmaphuge, ala
                                mem=mmaphuge:/hugetlbfs/file
 
+                       mmapshared      Same as mmap, but use a MMAP_SHARED
+                               mapping.
+
                The area allocated is a function of the maximum allowed
                bs size for the job, multiplied by the io depth given. Note
                that for shmhuge and mmaphuge to work, the system must have
                The area allocated is a function of the maximum allowed
                bs size for the job, multiplied by the io depth given. Note
                that for shmhuge and mmaphuge to work, the system must have
diff --git a/fio.1 b/fio.1
index 2ba36f91ecfa455da263e43dc59992db45ac8b08..3bd3318219eef54b9ee55ca2d0179378c2f681a9 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -1084,6 +1084,9 @@ is given after the option in the format `:\fIfile\fR'.
 .TP
 .B mmaphuge
 Same as \fBmmap\fR, but use huge files as backing.
 .TP
 .B mmaphuge
 Same as \fBmmap\fR, but use huge files as backing.
+.TP
+.B mmapshared
+Same as \fBmmap\fR, but use a MMAP_SHARED mapping.
 .RE
 .P
 The amount of memory allocated is the maximum allowed \fBblocksize\fR for the
 .RE
 .P
 The amount of memory allocated is the maximum allowed \fBblocksize\fR for the