15/19 e2fsprogs f_extents_orphan_blks test
PATCH 1/1 15/19 e2fsprogs f_extents_orphan_blks test
Regression test for orphaned blocks in an extent filesystem. Binary patch file.
Signed-off-by Andreas Dilger <[email protected]>
Signed-off-by Girish Shilamkar <[email protected]>
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
tests/f_extents_orphan_blks/expect.1 new file +27 -0
@@ -0,0 +1,27 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 12 has high 16 bits of extent/index block set +Clear? yes + +High 16 bits of extent/index block set +CLEARED. +High 16 bits of extent/index block set +CLEARED. +Inode 12, i_blocks is 3200, should be 3174. Fix? yes + +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +Block bitmap differences: -(7182--7194) +Fix? yes + +Free blocks count wrong for group #0 (5486, counted=5499). +Fix? yes + +Free blocks count wrong (12878, counted=12891). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 12/4016 files (8.3% non-contiguous), 3141/16032 blocks +Exit status is 1
tests/f_extents_orphan_blks/expect.2 new file +7 -0
@@ -0,0 +1,7 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 12/4016 files (8.3% non-contiguous), 3141/16032 blocks +Exit status is 0
tests/f_extents_orphan_blks/name new file +1 -0
@@ -0,0 +1 @@ +orphan blocks are created due to corruption in extent
tests/f_extents_orphan_blks/image.gz new file +2 -0
@@ -0,0 +1,2 @@ +�fg�Eimage ���U����'