[LTP] [PATCH 2/2] fill_fs: Ensure written data is not easily compressed
Cyril Hrubis
chrubis@suse.cz
Tue Dec 6 19:02:47 CET 2022
Hi!
> What are we trying to do though, simply fill the device to test the
> ENOSPC condition or some kind of poor man's fuzzing?
The test is supposed to test what happens when filesystem is altmost
full and being written to, which may trigger all kinds of corner cases.
In that sense it makes sense to randomize the access patterns a bit so
that we have higher chances of utilizing different code paths. But of
course the question where should we stop in randomizing things and what
makes sense and what does not.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list