NVSL / linux-nova

NOVA is a log-structured file system designed for byte-addressable non-volatile memories, developed at the University of California, San Diego.
http://nvsl.ucsd.edu/index.php?path=projects/nova
Other
421 stars 117 forks source link

XFSTests generic/436: lseek misbehaves(?) in the presence of holes. #21

Closed stevenjswanson closed 7 years ago

stevenjswanson commented 7 years ago

Probably related to #22.

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.

stevenjswanson commented 7 years ago

Fixed by adjusting xfstests. NVSL/xfstest@bb28a88b5772f97e073476131c2cfb6e8f676a96