Skip to content

New test for ENOSPC and ENOSR on pre v6.10 kernels

Lukas Herbolt fstests linux-xfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/1] New test for ENOSPC and ENOSR on pre v6.10 kernels

The tests covers the XFS spurious ENOSPC (and ENOSR and if only 6773da870ab is applied).

Two new helper programs are added:
1) src/fragment_fs.c - will fragment the filesystem, by writing user defined file size and then deleteing every n-th
2) src/mix_buffer_direct_io.c - mixes buffered and direct IO to the same file

Adding Christoph to cc as he is author of the fixes.

Ignore the first email, I mixed up my indentities.

Lukas Herbolt (1):
xfs: add test for ENOSR/ENOSPC on DIO into delalloc extents

 .gitignore                 |   2 +
 src/Makefile               |   3 +-
 src/buffer_direct_io.c     | 154 ++++++++++++++++++++++++++++++++
 src/fragment_fs.c          | 101 +++++++++++++++++++++
 src/mix_buffer_direct_io.c | 175 +++++++++++++++++++++++++++++++++++++
 tests/xfs/842              |  63 +++++++++++++
 tests/xfs/842.out          |   2 +
 7 files changed, 499 insertions(+), 1 deletion(-)
 create mode 100644 src/buffer_direct_io.c
 create mode 100644 src/fragment_fs.c
 create mode 100644 src/mix_buffer_direct_io.c
 create mode 100755 tests/xfs/842
 create mode 100644 tests/xfs/842.out
Signature · 1 line
2.56.0