>> diff --git a/tests/generic/017 b/tests/generic/017 >> index 13b7254..eb38d4d 100755 >> --- a/tests/generic/017 >> +++ b/tests/generic/017 >> @@ -49,8 +49,16 @@ _do_die_on_error=y >> testfile=$SCRATCH_MNT/$seq.$$ >> BLOCKS=10240 >> >> -for (( BSIZE = 1024; BSIZE <= 4096; BSIZE *= 2 )); do >> +MAX_INODE_COUNT_1K=127877120 >> +inode_count=`$TUNE2FS_PROG -l $SCRATCH_DEV | awk '/Inode count:/ { print $3 }'` >> +initial_bsize=$(($inode_count <= $MAX_INODE_COUNT_1K ? 1024 : 2048)) > > FWIW, that'll break every filesystem type other than ext4. Yes, that was an oversight on my part. The initial_bsize calculation should have taken filesystem type into account. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html