generic: test orphan inode recovery on RO mount

There's a bug in xfs where the orphan inode list
is not processed on a readonly mount, and is still not
processed even if it gets mounted rw.  This test exercises
that, and makes sure that the unlinked list is empty after
a transition to rw and an unmount.

While we're at it, sanity check the same thing for pure ro
and rw unmounts.

Now that shutdown is generic, we can test other filesystems
as well, so this is in the generic group.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Eric Sandeen
2017-03-10 11:57:11 +08:00
committed by Eryu Guan
parent 11a3e8bd82
commit 265c1037ee
3 changed files with 132 additions and 0 deletions
+1
View File
@@ -419,3 +419,4 @@
414 auto quick clone
415 auto clone
416 auto enospc
417 auto quick shutdown log