Currently default block size is frozen to 4096 which is bad for various reasons for example: 1) It ignores MKFS_OPT 2) Not works for architectures where PG_SIZE != 4096 Signed-off-by: Dmitry Monakhov <dmonakhov@xxxxxxxxxx> --- common/rc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/rc b/common/rc index 84fef35..d149d1c 100644 --- a/common/rc +++ b/common/rc @@ -582,7 +582,7 @@ _scratch_mkfs_sized() { fssize=$1 blocksize=$2 - [ -z "$blocksize" ] && blocksize=4096 + [ -z "$blocksize" ] && blocksize=`blockdev --getbsz $TEST_DEV` re='^[0-9]+$' if ! [[ $fssize =~ $re ]] ; then -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html