From: Wei Gao via ltp <ltp@lists.linux.it>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v18 0/3] fsconfig04: Check FSCONFIG_SET_PATH
Date: Mon, 2 Nov 2026 02:22:38 +0000 [thread overview]
Message-ID: <20261102022245.3922-1-wegao@suse.com> (raw)
v17->v18:
- lib: Add tst_attach_loopdev() to find an unused loop device and attach a
backing file with exponential backoff retry on EBUSY, preventing race
conditions between lookup and attachment.
- newlib_tests: Add unit test verifying tst_attach_loopdev().
- fsconfig04: Update create_and_attach_loopdev() to use tst_attach_loopdev().
Wei Gao (3):
lib: Add tst_attach_loopdev()
newlib_tests: Add tst_attach_loopdev test
fsconfig04: Check FSCONFIG_SET_PATH
include/tst_device.h | 13 ++
lib/newlib_tests/.gitignore | 1 +
lib/newlib_tests/runtest.sh | 1 +
lib/newlib_tests/tst_attach_loopdev.c | 133 ++++++++++++++
lib/tst_device.c | 87 ++++++++-
runtest/syscalls | 1 +
testcases/kernel/syscalls/fsconfig/.gitignore | 1 +
.../kernel/syscalls/fsconfig/fsconfig04.c | 166 ++++++++++++++++++
8 files changed, 395 insertions(+), 8 deletions(-)
create mode 100644 lib/newlib_tests/tst_attach_loopdev.c
create mode 100644 testcases/kernel/syscalls/fsconfig/fsconfig04.c
--
2.55.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2026-11-02 2:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 2:22 Wei Gao via ltp [this message]
2026-11-02 2:22 ` [LTP] [PATCH v18 1/3] lib: Add tst_attach_loopdev() Wei Gao via ltp
2026-11-02 8:25 ` [LTP] " linuxtestproject.agent
2026-11-12 13:05 ` [LTP] [PATCH v18 1/3] " Cyril Hrubis
2026-11-02 2:22 ` [LTP] [PATCH v18 2/3] newlib_tests: Add tst_attach_loopdev test Wei Gao via ltp
2026-11-02 2:22 ` [LTP] [PATCH v18 3/3] fsconfig04: Check FSCONFIG_SET_PATH Wei Gao via ltp
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=20261102022245.3922-1-wegao@suse.com \
--to=ltp@lists.linux.it \
--cc=wegao@suse.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.