generic: test uid/gid recovery after power failure

After fsync, filesystem should guarantee inode metadata including
uid/gid being persisted, so even after sudden power-cut, durign
mount, we should recover uid/gid fields correctly, in order to not
loss those meta info.

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

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-09-25 16:45:58 +08:00
committed by Eryu Guan
parent 9437a03432
commit c01e048881
3 changed files with 97 additions and 0 deletions
+1
View File
@@ -507,3 +507,4 @@
502 auto quick log
503 auto quick dax punch collapse zero
504 auto quick locks
505 shutdown auto quick metadata