Problems with mballoc and uninit_groups option

Valerie Clement
2008-01-11T14:02:36Z

Hi,

I've got problems with mballoc when I create the ext4 filesystem with
the "uninit_groups" option enabled.

First, I do a single test on a filesystem created without the
"uninit_groups" option and mounted with the defaults option:
dd if=/dev/zero of=/mnt/test/foo bs=1M count=1024

In this case, the file blocks are allocated in the groups 4, 5, 6, 7, 8,
9, 10.

When the filesystem is created with the "uninit_groups" option enabled
and mounted with the defaults option, I do the same dd command.

In this case, the file blocks are allocated in the groups 5, 7, 9, 25,
27, 49, 81. It seems that the blocks could be allocated only in the
already initialized groups.

Who knows how to fix that?

Valérie