linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/5] Add support for central fsconfig and -q <n> unconditional loop
@ 2025-01-10  9:10 Nirjhar Roy (IBM)
  2025-01-10  9:10 ` [RFC 1/5] tests/selftest: Add a new pseudo flaky test Nirjhar Roy (IBM)
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Nirjhar Roy (IBM) @ 2025-01-10  9:10 UTC (permalink / raw)
  To: fstests
  Cc: linux-ext4, linux-xfs, ritesh.list, ojaswin, djwong, zlang,
	nirjhar.roy.lists

This series introduces 2 new features, central fsconfig support and "-q <n>"
option to support unconditional looping. Along with this, it also brings
some improvements to output data both, in stdout and in result.log.
Central fsconfig feature allows us to define MKFS and MOUNT options for
different filesystems and use this central config to invoke any test.
We don't need to maintain different sections in local.config file for
different mkfs and mount options of any given FS.
e.g.
./check -c configs/xfs/4k,configs/ext4/1k -g quick

Central fsconfigs can be useful for below reasons:-
1. Testers and other FS developers can know what is being actively
tested and maintained by FS Maintainers.
2. It "reduces" the need to maintain different local.config files or
different sections within local.config file for subsystem maintainers
for testing different filesystem configurations.
-q <n> option can be useful for fast unconditional looping (compared to
-I <n>) to test a certain flakey test and get it's pass/fail metrics.

This is similar to -L <n>, although with -L the test only loops if it
fails the 1st time.
The individual patches can provide more details about other changes and
improvements.

This is something that was discussed during last LSFMM [1]
[1] https://lore.kernel.org/all/87h6h4sopf.fsf@doe.com/

Nirjhar Roy (IBM) (5):
  tests/selftest: Add a new pseudo flaky test.
  check: Add -q <n> option to support unconditional looping.
  check: Improve pass/fail metrics and section config output
  check,common/config: Add support for central fsconfig
  configs: Add a couple of xfs and ext4 configuration templates.

 README.config-sections |  12 +++
 check                  | 193 +++++++++++++++++++++++++++++++----------
 common/config          |  51 ++++++++++-
 common/report          |   2 +-
 configs/ext4/1k        |   3 +
 configs/ext4/4k        |   3 +
 configs/ext4/64k       |   3 +
 configs/xfs/1k         |   3 +
 configs/xfs/4k         |   3 +
 configs/xfs/64k        |   3 +
 configs/xfs/adv        |   3 +
 configs/xfs/quota      |   3 +
 tests/selftest/007     |  21 +++++
 tests/selftest/007.out |   2 +
 14 files changed, 256 insertions(+), 49 deletions(-)
 create mode 100644 configs/ext4/1k
 create mode 100644 configs/ext4/4k
 create mode 100644 configs/ext4/64k
 create mode 100644 configs/xfs/1k
 create mode 100644 configs/xfs/4k
 create mode 100644 configs/xfs/64k
 create mode 100644 configs/xfs/adv
 create mode 100644 configs/xfs/quota
 create mode 100755 tests/selftest/007
 create mode 100644 tests/selftest/007.out

--
2.34.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-03-03  9:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10  9:10 [RFC 0/5] Add support for central fsconfig and -q <n> unconditional loop Nirjhar Roy (IBM)
2025-01-10  9:10 ` [RFC 1/5] tests/selftest: Add a new pseudo flaky test Nirjhar Roy (IBM)
2025-01-13 16:46   ` Darrick J. Wong
2025-01-10  9:10 ` [RFC 2/5] check: Add -q <n> option to support unconditional looping Nirjhar Roy (IBM)
2025-01-10 16:08   ` Theodore Ts'o
2025-01-11  3:35     ` Ritesh Harjani
2025-01-10  9:10 ` [RFC 3/5] check: Improve pass/fail metrics and section config output Nirjhar Roy (IBM)
2025-01-10  9:10 ` [RFC 4/5] check,common/config: Add support for central fsconfig Nirjhar Roy (IBM)
2025-01-10 16:38   ` Theodore Ts'o
2025-02-20  9:56   ` Anand Jain
2025-03-01 17:30     ` Ritesh Harjani
2025-03-03  9:30       ` Anand Jain
2025-01-10  9:10 ` [RFC 5/5] configs: Add a couple of xfs and ext4 configuration templates Nirjhar Roy (IBM)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).