Skip to content

page_fault: add mmap-backed ioengine for anonymous faults

Nico Pache fio 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v22 patches 4 repliesSuperseded
  3. v1 RFC2 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Correctly use clang-format to adhere to formatting conventions
- check (and fail/warn) if user sets the start_offset
- directly utilize io_ops_data as there is no files
- updated error/print to follow proper format
- Copy docs update to fio.1

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2page_fault: add mmap-backed ioengine for anonymous faultsMakefile engines/page_fault.c examples/page_fault.fio+186 -10 replies
2/2Documentation: update the documentation to include the page_fault engineHOWTO.rst fio.1+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] page_fault: add mmap-backed ioengine for anonymous faults

This series introduces a new page_fault ioengine for Anonymous memory testing. This enables using fio’s existing framework and job files for memory management style workloads without relying on a filesystem. An example job file is included to demonstrate usage and lays the groundwork for how we plan on utilizing fio to test a number of MM related workloads.

The first patch adds the mmap‑backed ioengine that allocates anonymous memory and copies data on read/write to intentionally trigger faults.

The second patch updates the documentation to guide usage of the new feature.

V3:
- Correctly use clang-format to adhere to formatting conventions
- check (and fail/warn) if user sets the start_offset
- directly utilize io_ops_data as there is no files
- updated error/print to follow proper format
- Copy docs update to fio.1

V2: https://lore.kernel.org/fio/[email protected]/
V1: https://lore.kernel.org/fio/[email protected]/

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    | 125 ++++++++++++++++++++++++++++++++++++++++
 examples/page_fault.fio |  60 +++++++++++++++++++
 fio.1                   |   5 ++
 5 files changed, 196 insertions(+), 1 deletion(-)
 create mode 100644 engines/page_fault.c
 create mode 100644 examples/page_fault.fio
Signature · 1 line
2.53.0