Skip to content

Add optional kernel support checks for filesystem features

Martin Doucha ltp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3struct tst_fs: Add flag for checking filesystem mount support in kernelinclude/old/tso_safe_macros.h include/safe_macros_fn.h include/tst_safe_macros.h +3 more+22 -105 replies
2/3refluxfs: Check kernel reflink support before mounttestcases/cve/refluxfs.c+1 -01 reply
3/3file_attr02: Simplify device mountingtestcases/kernel/syscalls/file_attr/file_attr02.c+3 -141 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAndrea Cervesato
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [LTP] [PATCH 0/3] Add optional kernel support checks for filesystem features

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(-)
Signature · 5 lines
2.54.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp