#
347643 |
|
16-May-2019 |
asomers |
MFC r346847:
fsx: seed more randomly with the -S0 option
When using -S0, seed the PRNG with the current time in nanoseconds, not seconds, so consecutive runs don't accidentally use the same seed.
Also, rename some variables for clarity.
Reviewed by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20078
|
#
258352 |
|
19-Nov-2013 |
avg |
fsx: add an option to randomly call msync(MS_INVALIDATE)
This call should be a sufficiently close approximation of what happens when a filesystem is unmounted and remounted. To be more specific, it should test that the data that was in the page cache is the same data that ends up on a stable storage or in a filesystem's internal cache, if any. This will catch the cases where a page with modified data is marked as a clean page for whatever reason.
While there, make logging of the special events (open+close before plus invalidation now) more generic and slightly better than the previous hack.
MFC after: 10 days
|