Recent changes (master)
The following changes since commit ab77643023f5d7e3c1b71a7576a564f368bf577a:
Fio 3.42 (2026-04-06 20:11:47 -0600)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to f4e93793cbe3e4703520a9d4e1d6596bb1b43c73:
Merge branch 'anon-fault' (2026-04-07 20:00:49 -0600)
----------------------------------------------------------------
Jens Axboe (2):
engines/page_fault: minor style cleanups
Merge branch 'anon-fault'
Nico Pache (2):
page_fault: add mmap-backed ioengine for anonymous faults
Documentation: update the documentation to include the page_fault engine
HOWTO.rst | 5 ++ Makefile | 2 +- engines/page_fault.c | 126 ++++++++++++++++++++++++++++++++++++++++++++++++ examples/page_fault.fio | 60 +++++++++++++++++++++++ fio.1 | 5 ++ 5 files changed, 197 insertions(+), 1 deletion(-) create mode 100644 engines/page_fault.c create mode 100644 examples/page_fault.fio
---
Diff of recent changes:
HOWTO.rst +5 -0
@@ -2379,6 +2379,11 @@ I/O engine several instances to access the same device or file simultaneously, but allow it for threads. + **page_fault** + I/O engine that uses an mmap region to simulate data transfer by + allocating anonymous memory and copying data on read/write to + intentionally trigger page faults. + File/directory operation engines define how the job operates file or directory. The following types are defined:
Makefile +1 -1
@@ -57,7 +57,7 @@ SOURCE := $(sort $(patsubst $(SRCDIR)/%,%,$(wildcard $(SRCDIR)/crc/*.c)) \ smalloc.c filehash.c profile.c debug.c engines/cpu.c \ engines/mmap.c engines/sync.c engines/null.c engines/net.c \ engines/ftruncate.c engines/fileoperations.c \ - engines/exec.c \ + engines/exec.c engines/page_fault.c \ server.c client.c iolog.c backend.c libfio.c flow.c cconv.c \ gettime-thread.c helpers.c json.c idletime.c td_error.c \ profiles/tiobench.c profiles/act.c io_u_queue.c filelock.c \
engines/page_fault.c new file +126 -0
126 lines not on this page · raw message
examples/page_fault.fio new file +60 -0
60 lines not on this page · raw message
fio.1 +5 -0
@@ -2168,6 +2168,11 @@ instance is used per process, so all jobs setting option \fBthread\fR will share a single instance (with one queue per thread) and must specify compatible options. Note that some drivers don't allow several instances to access the same device or file simultaneously, but allow it for threads. +.TP +.B page_fault +I/O engine that uses an mmap region to simulate data transfer by allocating +anonymous memory and copying data on read/write to intentionally trigger page +faults. .RE .P File/directory operation engines define how the job operates file or directory.