Avoid causing kernel oops in nilfs2 test.
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 2 Feb 2017 23:34:07 +0000 (00:34 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 2 Feb 2017 23:34:07 +0000 (00:34 +0100)
1024-byte and 2048-byte blocks don't really work with some kernels, skip
them as we don't want any oops'es.

tests/util/grub-fs-tester.in

index 0ad6656..f363d6f 100644 (file)
@@ -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*)