From: Martin Doucha <mdoucha@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 0/3] Add optional kernel support checks for filesystem features
Date: Fri, 14 Aug 2026 14:49:35 +0200 [thread overview]
Message-ID: <20260814124943.36853-1-mdoucha@suse.cz> (raw)
Add optional checks to the LTP library whether the kernel supports mounting
a filesystem with special features. The check is enabled through the
.mount_check_support attribute in struct tst_fs.
Also use this check in the two tests which require XFS reflink support:
file_attr02 and refluxfs.
Martin Doucha (3):
struct tst_fs: Add flag for checking filesystem mount support in
kernel
refluxfs: Check kernel reflink support before mount
file_attr02: Simplify device mounting
include/old/tso_safe_macros.h | 2 +-
include/safe_macros_fn.h | 2 +-
include/tst_safe_macros.h | 7 ++++---
include/tst_test.h | 4 ++++
lib/safe_macros.c | 14 ++++++++++----
lib/tst_test.c | 3 ++-
testcases/cve/refluxfs.c | 1 +
.../kernel/syscalls/file_attr/file_attr02.c | 17 +++--------------
8 files changed, 26 insertions(+), 24 deletions(-)
--
2.54.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2026-08-14 12:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-14 12:49 Martin Doucha [this message]
2026-08-14 12:49 ` [LTP] [PATCH 1/3] struct tst_fs: Add flag for checking filesystem mount support in kernel Martin Doucha
2026-08-14 13:05 ` [LTP] " linuxtestproject.agent
2026-08-18 7:51 ` Andrea Cervesato via ltp
2026-08-18 9:21 ` Martin Doucha
2026-08-18 9:35 ` [LTP] [PATCH 1/3] " Andrea Cervesato via ltp
2026-08-20 15:41 ` Petr Vorel
2026-08-14 12:49 ` [LTP] [PATCH 2/3] refluxfs: Check kernel reflink support before mount Martin Doucha
2026-08-18 9:35 ` Andrea Cervesato via ltp
2026-08-14 12:49 ` [LTP] [PATCH 3/3] file_attr02: Simplify device mounting Martin Doucha
2026-08-18 9:35 ` Andrea Cervesato 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=20260814124943.36853-1-mdoucha@suse.cz \
--to=mdoucha@suse.cz \
--cc=ltp@lists.linux.it \
/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.