The problem may be with the test. xfstests/src/seek_sanity_test.c does a simple check to see whether SEEK_HOLE and SEEK_DATA should actually report the locations of holes and data (it sets the default_behavior flag, if it does not.
If they should report actual hole location, the test is particular about where the holes should be. It seems that NOVA's behavior is allowed by the lseek manpage's description of SEEK_DATA and SEEK_HOLE.
Probably related to #22.
The problem may be with the test.
xfstests/src/seek_sanity_test.c
does a simple check to see whetherSEEK_HOLE
andSEEK_DATA
should actually report the locations of holes and data (it sets thedefault_behavior
flag, if it does not.If they should report actual hole location, the test is particular about where the holes should be. It seems that NOVA's behavior is allowed by the lseek manpage's description of SEEK_DATA and SEEK_HOLE.