Re: [LTP] [PATCH 2/2] fill_fs: Ensure written data is not easily compressed

Cyril Hrubis
2022-12-06T18:01:45Z

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