mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: test that we don't leak inodes and dquots during failed cow recovery
Add a couple of tests to check that we don't leak inodes or dquots if CoW recovery fails and therefore the mount fails. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
c0c26cecab
commit
a9df2f23df
@@ -0,0 +1,9 @@
|
||||
QA output created by 434
|
||||
Format and mount
|
||||
Create a many-block file
|
||||
Inject error
|
||||
Defrag the file
|
||||
FS should be shut down, touch will fail
|
||||
touch: cannot touch 'SCRATCH_MNT/badfs': Input/output error
|
||||
Remount to replay log
|
||||
See if we leak
|
||||
Reference in New Issue
Block a user