diff options
author | Etienne Dechamps <[email protected]> | 2012-09-20 12:00:50 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-10-03 10:52:51 -0700 |
commit | 2f342404c157f130129784f2592eaadf0930beab (patch) | |
tree | 477810c1de92f1dc7865b930157fab2a3192e5a8 /config/kernel.m4 | |
parent | 393b44c7112854fc11dc97885a87f666780cc9fe (diff) |
Force 4K blocksize when testing ext2 on zvol.
Currently, mkfs.ext2 on zconfig.sh zvols tries to use a 8K blocksize,
probably because by default zvol exposes an optimal I/O size of 8K.
Unfortunately, a ext2 blocksize of 8K is not supported by the kernel,
so the resulting filesystem is unmountable.
This patch fixes the issue by making sure the blocksize is 4K. We have
to use -F to force it else mkfs.ext2 won't allow us to use a blocksize
smaller than the optimal I/O size.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #979
Diffstat (limited to 'config/kernel.m4')
0 files changed, 0 insertions, 0 deletions