Skip to contentSkip to conversation

Test script for 64KB blocksize

DISCUSSION Jan Kara 2 participants 2 messages Dec 6, 2007

lore
Share & tools
lore

Jan Kara

author
#0 lore raw

Hi,

attached is a test script which verifies that 64KB blocksize works in the
modified code paths. It creates a filesystem with 64KB blocksize and excercises e2image, debugfs (and thus libext2fs) and e2fsck on it. You only need to modify paths to e2fsprogs in the first few lines of the script.
Also if you don't apply a patch for 2-block lost+found from Andreas, you
need to disable the first test which would fail otherwise.

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
#1 lore raw
Quoted 6 lines · Jan Kara

attached is a test script which verifies that 64KB blocksize works in the
modified code paths. It creates a filesystem with 64KB blocksize and excercises e2image, debugfs (and thus libext2fs) and e2fsck on it. You only need to modify paths to e2fsprogs in the first few lines of the script.
Also if you don't apply a patch for 2-block lost+found from Andreas, you
need to disable the first test which would fail otherwise.

This would be well suited to be added to e2fsprogs/tests with what looks to be relatively few changes. That would ensure that it runs forever in the future.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.