Files
apfstests/src
Amir Goldstein 3408108774 fstests: Add more sanity to seek_sanity_test
seek_sanity_test checks for one of several SEEK_DATA/HOLE
behaviors and allows for the default behavior of filesystems,
where SEEK_HOLE always returns EOF.

This means that if filesystem has a regression in finding
holes, the sanity test won't catch it. And indeed this regression
happened in overlayfs on kernel v4.19 and went unnoticed.

To improve test coverage, add a flag -f to seek_sanity_test to
indicate that the default behavior is not acceptable.
Whitelist all filesystem types that are expected to detect holes
and use wrapper when invoking seek_sanity_test to add the -f flag
to those filesystems.

Overlayfs inherits expected behavior from base fs type.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Acked-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2019-04-06 19:47:53 +08:00
..
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:23:55 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2015-05-26 12:51:57 +10:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2017-05-26 15:27:22 +08:00
2017-05-26 15:27:22 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2014-06-18 09:31:38 +10:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2006-08-04 13:44:58 +00:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00
2018-06-22 10:38:07 +08:00