From: Vladimir Serbinenko Date: Thu, 2 Feb 2017 23:34:07 +0000 (+0100) Subject: Avoid causing kernel oops in nilfs2 test. X-Git-Tag: 2.02-rc1~5 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=5412028d19915311c0b44bdd6a3e46bbc343c373;p=thirdparty%2Fgrub.git Avoid causing kernel oops in nilfs2 test. 1024-byte and 2048-byte blocks don't really work with some kernels, skip them as we don't want any oops'es. --- diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index 0ad66569d..f363d6f6e 100644 --- a/tests/util/grub-fs-tester.in +++ b/tests/util/grub-fs-tester.in @@ -85,7 +85,10 @@ for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE + MAXBLKSIZE=1048576 ;; xnilfs2) - MINBLKSIZE=1024 + # nilfs2 supports blocksizes from 1024 to 4096 + # but non-4096 results in kernel oops in some cases, + # avoid it. + MINBLKSIZE=4096 MAXBLKSIZE=4096 ;; xsfs*)