Skip to contentSkip to conversation

2/19 e2fsprogs updated f_extents test

PATCH New Andreas Dilger 1 participant 1 message Mar 20, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2/19 e2fsprogs updated f_extents test

Updated base test case for extents (has a variety of simple tests). This is a patch to the binary tests/f_extents/image.gz, which initially surprised me that it worked, but it does. The rest of the regression tests are also binary patches, which makes it easier to add them to a quilt series instead of having the regression image as a separate attachment.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

tests/f_extents/expect.1 +67 -0
Index: e2fsprogs/tests/f_extents/expect.1
===================================================================
@@ -0,0 +1,67 @@
+Pass 1: Checking inodes, blocks, and sizes
+Inode 12 is in extent format, but superblock is missing EXTENTS feature
+Fix? yes
+
+Inode 13 missing EXTENT_FL, but is in extents format
+Fix? yes
+
+Inode 16 has corrupt extent at block 3 (logical 4613) length 2
+Clear? yes
+
+Inode 16, i_blocks is 16, should be 12.  Fix? yes
+
+Inode 18 has EXTENT_FL set, but is not in extents format
+Fix? yes
+
+Inode 19 has EXTENT_FL set, but is not in extents format
+Fix? yes
+
+Inode 17 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.
+
+Running additional passes to resolve blocks claimed by more than one inode...
+Pass 1B: Rescanning for multiply-claimed blocks
+Multiply-claimed block(s) in inode 12: 5133 5124 5125 5129 5132 5133 5142 5143 5144 5145
+Multiply-claimed block(s) in inode 17: 5124 5125 5129 5132 5142 5143 5144 5145
+Multiply-claimed block(s) in inode 20: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
+Pass 1C: Scanning directories for inodes with multiply-claimed blocks
+Pass 1D: Reconciling multiply-claimed blocks
+(There are 3 inodes containing multiply-claimed blocks.)
+
+File /fdup1 (inode #12, mod time Wed Jul  5 21:55:26 2006) 
+  has 10 multiply-claimed block(s), shared with 1 file(s):
+	/fdup2 (inode #17, mod time Wed Jul  5 21:55:27 2006)
+Clone multiply-claimed blocks? yes
+
+File /fdup2 (inode #17, mod time Wed Jul  5 21:55:27 2006) 
+  has 8 multiply-claimed block(s), shared with 1 file(s):
+	/fdup1 (inode #12, mod time Wed Jul  5 21:55:26 2006)
+Multiply-claimed blocks already reassigned or cloned.
+
+File /fdup-meta (inode #20, mod time Fri Dec  8 07:58:57 2006) 
+  has 32 multiply-claimed block(s), shared with 1 file(s):
+	<filesystem metadata>
+Clone multiply-claimed blocks? 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:  +4611 -(4613--4614) -(4617--4648) -(5121--5122) +(5143--5146)
+Fix? yes
+
+Free blocks count wrong for group #0 (7049, counted=7034).
+Fix? yes
+
+Free blocks count wrong (7049, counted=7034).
+Fix? yes
+
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 20/256 files (15.0% non-contiguous), 1158/8192 blocks
+Exit status is 1
tests/f_extents/expect.2 +7 -0
Index: e2fsprogs/tests/f_extents/expect.2
===================================================================
@@ -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: 20/256 files (15.0% non-contiguous), 1158/8192 blocks
+Exit status is 0
tests/f_extents/name +1 -0
Index: e2fsprogs/tests/f_extents/name
===================================================================
@@ -0,0 +1 @@
+extent-mapped files with errors
tests/f_extents/script deleted +0 -2
Index: e2fsprogs/tests/f_extents/script
===================================================================
@@ -1,2 +0,0 @@
-rm -f $test_name.ok $test_name.failed
-echo "skipped"
tests/f_extents/image.gz +16 -49

67 lines not on this page · raw message