New test for ENOSPC and ENOSR on pre v6.10 kernels
cover 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