Skip to content

Introduce the end_syncfs option

Damien Le Moal fio 4 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. v4 Latest8 patches 4 repliesApplied
  2. v38 patches 1 replySuperseded
  3. v21 patch 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch1 replySuperseded

Changes in v4 from the cover letter

- Fix compilation errors with Windows/cygwin: dirname() and dirfd() functions do not exist apparently, so expand the scope of the CONFIG_SYNCFS conditional code.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/8fio: introduce the end_syncfs optionHOWTO.rst backend.c cconv.c +17 more+296 -270 replies
2/8engines: sync: add support for DDIR_SYNCFSengines/sync.c+5 -60 replies
3/8engines: libaio: add support for DDIR_SYNCFSengines/libaio.c+6 -20 replies
4/8engines: io_uring: add support for DDIR_SYNCFSengines/io_uring.c+12 -40 replies
5/8engines: fallocate: add support for DDIR_SYNCFSengines/falloc.c+2 -20 replies
6/8engines: fileoperations: add support for DDIR_SYNCFSengines/fileoperations.c+4 -40 replies
7/8engines: ftruncate: add support for DDIR_SYNCFSengines/ftruncate.c+2 -20 replies
8/8engines: posixaio: add support for DDIR_SYNCFSengines/posixaio.c+6 -20 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSitsofe Wheeler
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/8] Introduce the end_syncfs option

Jens, Vincent,

This patch series introduces the end_syncfs option and adds support for it to the main IO engines that can handle regular files. This new option improves the precision of file system benchmarks when a large number of files are being handled.

Changes from v3:
- Fix compilation errors with Windows/cygwin: dirname() and dirfd() functions do not exist apparently, so expand the scope of the CONFIG_SYNCFS conditional code.

Changes from v2:
- Reworked patch 1 to build a list of file system mounts per job and have the end_syncfs option issue syncfs() call for eacho mounted file system when a job write stage completes.
- Added patch 2 to 7 to support this new option in hte sync, libaio, io_uring, fallocate, fileoperations, ftruncate and posixaio IO engines.

Damien Le Moal (8):
fio: introduce the end_syncfs option
engines: sync: add support for DDIR_SYNCFS
engines: libaio: add support for DDIR_SYNCFS
engines: io_uring: add support for DDIR_SYNCFS
engines: fallocate: add support for DDIR_SYNCFS
engines: fileoperations: add support for DDIR_SYNCFS
engines: ftruncate: add support for DDIR_SYNCFS
engines: posixaio: add support for DDIR_SYNCFS

 HOWTO.rst                |   9 ++-
 backend.c                |  63 +++++++++++++++----
 cconv.c                  |   2 +
 configure                |  26 ++++++++
 engines/falloc.c         |   4 +-
 engines/fileoperations.c |   8 +--
 engines/ftruncate.c      |   4 +-
 engines/io_uring.c       |  16 +++--
 engines/libaio.c         |   8 ++-
 engines/posixaio.c       |   8 ++-
 engines/sync.c           |  11 ++--
 file.h                   |  17 +++++
 filesetup.c              | 132 ++++++++++++++++++++++++++++++++++++---
 fio.1                    |   8 ++-
 fio.h                    |   1 +
 helpers.c                |   8 +++
 helpers.h                |   3 +
 init.c                   |   1 +
 io_ddir.h                |   3 +-
 io_u.c                   |   6 +-
 ioengines.c              |  10 ++-
 ioengines.h              |   4 ++
 options.c                |  19 ++++++
 server.h                 |   2 +-
 stat.c                   |   3 +-
 thread_options.h         |   5 +-
 zbd.c                    |   1 +
 27 files changed, 333 insertions(+), 49 deletions(-)
Signature · 1 line
2.53.0