]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
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 0ad66569dc0e8f826c729b685e6e8f0d3654923e..f363d6f6ea4a0f293a382f1342d0931319c59848 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*)