mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
9c03808e4d
When blocksize is 512b, xfs/033 will run mkfs.xfs again to make sure
inode size is 512b. As below:
# devzero blows away 512byte blocks, so make 512byte inodes (at least)
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
. $tmp.mkfs
[ $isize -lt 512 ] && \
_scratch_mkfs_xfs -isize=512 | _filter_mkfs >/dev/null 2>&1
But after "566ebd5 mkfs: default to CRC enabled filesystems",
xfsprogs enable CRC as default. If MKFS_OPTIONS is "-b size=512 -m
crc=0", the first "_scratch_mkfs_xfs" will make crc=0, but the
second will change "crc" to "1", because it'll waive the "-b
size=512 -m crc=0" options.
xfs/033 need to check xfs's sb_features, to use different .out
files. So we should import the mkfs output($tmp.mkfs file) again, if
we mkfs again.
Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
189 lines
7.5 KiB
Plaintext
189 lines
7.5 KiB
Plaintext
QA output created by 033
|
|
Corrupting root inode - setting bits to 0
|
|
Wrote X.XXKb (value 0x0)
|
|
Phase 1 - find and verify superblock...
|
|
Phase 2 - using <TYPEOF> log
|
|
- zero log...
|
|
- scan filesystem freespace and inode maps...
|
|
- found root inode chunk
|
|
Phase 3 - for each AG...
|
|
- scan and clear agi unlinked lists...
|
|
- process known inodes and perform inode discovery...
|
|
bad magic number 0x0 on inode INO
|
|
bad version number 0x0 on inode INO
|
|
bad magic number 0x0 on inode INO, resetting magic number
|
|
bad version number 0x0 on inode INO, resetting version number
|
|
imap claims a free inode INO is in use, correcting imap and clearing inode
|
|
cleared root inode INO
|
|
- process newly discovered inodes...
|
|
Phase 4 - check for duplicate blocks...
|
|
- setting up duplicate extent list...
|
|
root inode lost
|
|
- check for inodes claiming duplicate blocks...
|
|
Phase 5 - rebuild AG headers and trees...
|
|
- reset superblock...
|
|
Phase 6 - check inode connectivity...
|
|
reinitializing root directory
|
|
- resetting contents of realtime bitmap and summary inodes
|
|
- traversing filesystem ...
|
|
- traversal finished ...
|
|
- moving disconnected inodes to lost+found ...
|
|
Phase 7 - verify and correct link counts...
|
|
resetting inode INO nlinks from 1 to 2
|
|
done
|
|
Corrupting rt bitmap inode - setting bits to 0
|
|
Wrote X.XXKb (value 0x0)
|
|
Phase 1 - find and verify superblock...
|
|
Phase 2 - using <TYPEOF> log
|
|
- zero log...
|
|
- scan filesystem freespace and inode maps...
|
|
- found root inode chunk
|
|
Phase 3 - for each AG...
|
|
- scan and clear agi unlinked lists...
|
|
- process known inodes and perform inode discovery...
|
|
bad magic number 0x0 on inode INO
|
|
bad version number 0x0 on inode INO
|
|
bad magic number 0x0 on inode INO, resetting magic number
|
|
bad version number 0x0 on inode INO, resetting version number
|
|
imap claims a free inode INO is in use, correcting imap and clearing inode
|
|
cleared realtime bitmap inode INO
|
|
- process newly discovered inodes...
|
|
Phase 4 - check for duplicate blocks...
|
|
- setting up duplicate extent list...
|
|
- check for inodes claiming duplicate blocks...
|
|
Phase 5 - rebuild AG headers and trees...
|
|
- reset superblock...
|
|
Phase 6 - check inode connectivity...
|
|
reinitializing realtime bitmap inode
|
|
- resetting contents of realtime bitmap and summary inodes
|
|
- traversing filesystem ...
|
|
- traversal finished ...
|
|
- moving disconnected inodes to lost+found ...
|
|
Phase 7 - verify and correct link counts...
|
|
done
|
|
Corrupting rt summary inode - setting bits to 0
|
|
Wrote X.XXKb (value 0x0)
|
|
Phase 1 - find and verify superblock...
|
|
Phase 2 - using <TYPEOF> log
|
|
- zero log...
|
|
- scan filesystem freespace and inode maps...
|
|
- found root inode chunk
|
|
Phase 3 - for each AG...
|
|
- scan and clear agi unlinked lists...
|
|
- process known inodes and perform inode discovery...
|
|
bad magic number 0x0 on inode INO
|
|
bad version number 0x0 on inode INO
|
|
bad magic number 0x0 on inode INO, resetting magic number
|
|
bad version number 0x0 on inode INO, resetting version number
|
|
imap claims a free inode INO is in use, correcting imap and clearing inode
|
|
cleared realtime summary inode INO
|
|
- process newly discovered inodes...
|
|
Phase 4 - check for duplicate blocks...
|
|
- setting up duplicate extent list...
|
|
- check for inodes claiming duplicate blocks...
|
|
Phase 5 - rebuild AG headers and trees...
|
|
- reset superblock...
|
|
Phase 6 - check inode connectivity...
|
|
reinitializing realtime summary inode
|
|
- resetting contents of realtime bitmap and summary inodes
|
|
- traversing filesystem ...
|
|
- traversal finished ...
|
|
- moving disconnected inodes to lost+found ...
|
|
Phase 7 - verify and correct link counts...
|
|
done
|
|
Corrupting root inode - setting bits to -1
|
|
Wrote X.XXKb (value 0xffffffff)
|
|
Phase 1 - find and verify superblock...
|
|
Phase 2 - using <TYPEOF> log
|
|
- zero log...
|
|
- scan filesystem freespace and inode maps...
|
|
- found root inode chunk
|
|
Phase 3 - for each AG...
|
|
- scan and clear agi unlinked lists...
|
|
- process known inodes and perform inode discovery...
|
|
bad magic number 0xffff on inode INO
|
|
bad version number 0xffffffff on inode INO
|
|
bad (negative) size -1 on inode INO
|
|
bad magic number 0xffff on inode INO, resetting magic number
|
|
bad version number 0xffffffff on inode INO, resetting version number
|
|
bad (negative) size -1 on inode INO
|
|
cleared root inode INO
|
|
- process newly discovered inodes...
|
|
Phase 4 - check for duplicate blocks...
|
|
- setting up duplicate extent list...
|
|
root inode lost
|
|
- check for inodes claiming duplicate blocks...
|
|
Phase 5 - rebuild AG headers and trees...
|
|
- reset superblock...
|
|
Phase 6 - check inode connectivity...
|
|
reinitializing root directory
|
|
- resetting contents of realtime bitmap and summary inodes
|
|
- traversing filesystem ...
|
|
- traversal finished ...
|
|
- moving disconnected inodes to lost+found ...
|
|
Phase 7 - verify and correct link counts...
|
|
resetting inode INO nlinks from 1 to 2
|
|
done
|
|
Corrupting rt bitmap inode - setting bits to -1
|
|
Wrote X.XXKb (value 0xffffffff)
|
|
Phase 1 - find and verify superblock...
|
|
Phase 2 - using <TYPEOF> log
|
|
- zero log...
|
|
- scan filesystem freespace and inode maps...
|
|
- found root inode chunk
|
|
Phase 3 - for each AG...
|
|
- scan and clear agi unlinked lists...
|
|
- process known inodes and perform inode discovery...
|
|
bad magic number 0xffff on inode INO
|
|
bad version number 0xffffffff on inode INO
|
|
bad (negative) size -1 on inode INO
|
|
bad magic number 0xffff on inode INO, resetting magic number
|
|
bad version number 0xffffffff on inode INO, resetting version number
|
|
bad (negative) size -1 on inode INO
|
|
cleared realtime bitmap inode INO
|
|
- process newly discovered inodes...
|
|
Phase 4 - check for duplicate blocks...
|
|
- setting up duplicate extent list...
|
|
- check for inodes claiming duplicate blocks...
|
|
Phase 5 - rebuild AG headers and trees...
|
|
- reset superblock...
|
|
Phase 6 - check inode connectivity...
|
|
reinitializing realtime bitmap inode
|
|
- resetting contents of realtime bitmap and summary inodes
|
|
- traversing filesystem ...
|
|
- traversal finished ...
|
|
- moving disconnected inodes to lost+found ...
|
|
Phase 7 - verify and correct link counts...
|
|
done
|
|
Corrupting rt summary inode - setting bits to -1
|
|
Wrote X.XXKb (value 0xffffffff)
|
|
Phase 1 - find and verify superblock...
|
|
Phase 2 - using <TYPEOF> log
|
|
- zero log...
|
|
- scan filesystem freespace and inode maps...
|
|
- found root inode chunk
|
|
Phase 3 - for each AG...
|
|
- scan and clear agi unlinked lists...
|
|
- process known inodes and perform inode discovery...
|
|
bad magic number 0xffff on inode INO
|
|
bad version number 0xffffffff on inode INO
|
|
bad (negative) size -1 on inode INO
|
|
bad magic number 0xffff on inode INO, resetting magic number
|
|
bad version number 0xffffffff on inode INO, resetting version number
|
|
bad (negative) size -1 on inode INO
|
|
cleared realtime summary inode INO
|
|
- process newly discovered inodes...
|
|
Phase 4 - check for duplicate blocks...
|
|
- setting up duplicate extent list...
|
|
- check for inodes claiming duplicate blocks...
|
|
Phase 5 - rebuild AG headers and trees...
|
|
- reset superblock...
|
|
Phase 6 - check inode connectivity...
|
|
reinitializing realtime summary inode
|
|
- resetting contents of realtime bitmap and summary inodes
|
|
- traversing filesystem ...
|
|
- traversal finished ...
|
|
- moving disconnected inodes to lost+found ...
|
|
Phase 7 - verify and correct link counts...
|
|
done
|