public inbox for fio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] page_fault: add mmap-backed ioengine for anonymous faults
@ 2026-04-08  1:20 Nico Pache
  2026-04-08  1:20 ` [PATCH v3 1/2] " Nico Pache
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Nico Pache @ 2026-04-08  1:20 UTC (permalink / raw)
  To: vincentfu, axboe, fio
  Cc: jvozar, jjurca, jhladky, peterx, spetrovi, npache, david

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/20260311155114.198006-1-npache@redhat.com/
V1: https://lore.kernel.org/fio/20260129184302.34887-1-npache@redhat.com/

Signed-off-by: Nico Pache <npache@redhat.com>

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

-- 
2.53.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-08 13:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-08  1:20 [PATCH v3 0/2] page_fault: add mmap-backed ioengine for anonymous faults Nico Pache
2026-04-08  1:20 ` [PATCH v3 1/2] " Nico Pache
2026-04-08  1:20 ` [PATCH v3 2/2] Documentation: update the documentation to include the page_fault engine Nico Pache
2026-04-08  2:01 ` [PATCH v3 0/2] page_fault: add mmap-backed ioengine for anonymous faults Jens Axboe
2026-04-08 13:21   ` Nico Pache
2026-04-08  4:12 ` fiotestbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox