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/003: NOVA drops atime precision after remount #24

Closed stevenjswanson closed 7 years ago

stevenjswanson commented 7 years ago

For this part of test generic/003

https://github.com/NVSL/xfstests/blob/master/tests/generic/003#L113

atime before remount: 2017-07-01 05:51:51.308508486 +0000

atime after remount: 2017-07-01 05:51:51.000000000 +0000

Similar behavior here:

https://github.com/NVSL/xfstests/blob/master/tests/generic/003#L201

The reason is that nova's persistent inode doesn't store the nanoseconds in the timespec:

https://github.com/NVSL/linux-nova/blob/master/fs/nova/nova_def.h#L87