diff options
author | Eric Sandeen <sandeen@redhat.com> | 2011-11-11 21:11:43 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-11-11 21:11:43 -0500 |
commit | 6d26887991cf3bb3d21c6b9b0035576527c4a27e (patch) | |
tree | b607696f7b43f58f33d80b462c8cc4ea5d17aa4d /tests/f_mmp | |
parent | df7a86d404e293465b8e5f39859c0916e84ba35a (diff) | |
download | e2fsprogs-6d26887991cf3bb3d21c6b9b0035576527c4a27e.tar.gz |
tests: fix mmp tests on hard 4k devices
Several of the mmp tests were failing on an s390 guest because
direct IO cannot be done on sub-sector sizes, and they were
doing 1k IOs to files on a 4k logical/physical device.
A few tests could just be changed to 4k, but others
needed fixed up output as well.
With this I have all tests passing on s390 again.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/f_mmp')
-rw-r--r-- | tests/f_mmp/script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/f_mmp/script b/tests/f_mmp/script index 548734ad..4aca4475 100644 --- a/tests/f_mmp/script +++ b/tests/f_mmp/script @@ -12,7 +12,7 @@ if [ $? == 0 ]; then fi echo "make the test image ..." > $test_name.log -$MKE2FS -q -F -o Linux -b 1024 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1 +$MKE2FS -q -F -o Linux -b 4096 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1 status=$? if [ "$status" != 0 ] ; then echo "mke2fs -O mmp failed" > $test_name.failed |