generic: test creation time recovery after power failure

After fsync, filesystem should guarantee inode metadata including
creation time being persisted, so even after sudden power-cut, during
mount, we should recover i_crtime_{,nsec} fields correctly, in order
to not loss those meta info.

So adding this testcase to check whether generic filesystem can
guarantee that.

Note that, it needs inode creation time support on specified filesystem.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Chao Yu
2018-10-07 20:25:48 +08:00
committed by Eryu Guan
parent 1c29d399b6
commit 28c8fb706f
4 changed files with 107 additions and 0 deletions
+1
View File
@@ -510,3 +510,4 @@
505 shutdown auto quick metadata
506 shutdown auto quick metadata quota
507 shutdown auto quick metadata
508 shutdown auto quick metadata