From: Lukas Herbolt <lherbolt@redhat.com>
To: zlang@kernel.org
Cc: fstests@vger.kernel.org, hch@lst.de, linux-xfs@vger.kernel.org
Subject: [PATCH 0/1] New test for ENOSPC and ENOSR on pre v6.10 kernels
Date: Fri, 16 Oct 2026 11:13:10 +0200 [thread overview]
Message-ID: <20261016091312.294645-2-lherbolt@redhat.com> (raw)
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.
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
--
2.56.0
next reply other threads:[~2026-10-16 9:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 9:13 Lukas Herbolt [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-16 9:14 [PATCH 0/1] New test for ENOSPC and ENOSR on pre v6.10 kernels Lukas Herbolt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261016091312.294645-2-lherbolt@redhat.com \
--to=lherbolt@redhat.com \
--cc=fstests@vger.kernel.org \
--cc=hch@lst.de \
--cc=linux-xfs@vger.kernel.org \
--cc=zlang@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox