[LTP] [PATCH 1/2] lib: tst_test: Add per filesystem mkfs and mount opts

Cyril Hrubis chrubis@suse.cz
Tue Jun 11 14:23:43 CEST 2024


Hi!
> It's a lot less confusing than having half of the filesystem settings in 
> .fs and the other half in .fss when you enable .all_filesystems.

There is a subltle difference in the design which I tried to explain in
the documentation comment. If you enable .all_filesystems all parameters
are taken from the fs and the fss severs only as an override for the
defaults in fs. Since the test has no idea about which filesystems
are tested on .all_filesystems the defaults has to be stored somewhere.

Another option would be storing the defaults in .fss with NULL
filesystem name, but that would IMHO be even more confusing.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list