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.
This commit is contained in:
Vladimir Serbinenko 2017-02-03 00:34:07 +01:00
parent c65d35b08b
commit 5412028d19
1 changed files with 4 additions and 1 deletions

View 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*)