Skip to content

RFC BIG_BG: support of large block groups

Valerie Clement linux-ext4 1 version In review

Get series with b4
b4 am 1164386860.17961.67.camel@ckrm

Versions newest first

  1. v1 RFC Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4BIG_BG: rearrange some function calls.fs/ext4/balloc.c+41 -350 replies
2/4BIG_BG: larger block bitmapsfs/ext4/balloc.c fs/ext4/super.c include/linux/ext4_fs.h+133 -590 replies
3/4BIG_BG: larger inode bitmapsfs/ext4/ialloc.c fs/ext4/inode.c+45 -240 replies
4/4BIG_BG: block group descriptor modificationsfs/ext4/balloc.c fs/ext4/ialloc.c fs/ext4/resize.c +1 more+96 -473 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/4] BIG_BG: support of large block groups

Currently, the maximum number of blocks in a block group is the number of bits in a block, since the block bitmap must be stored inside a single block.
So on a 4 KB blocksize filesystem, the maximum number of blocks in a group is 32768.
This constraint can limit the maximum size of the filesystem.

Increasing the block group size allows also to reduce the number of groups in the filesystem.

This patchset allows using several consecutive blocks to store the bitmaps, thus having larger block groups and so increasing the filesystem size.

It applies against a linux-2.6.19-rc6 kernel and follows up the work on the 64-bit support done by Laurent Vivier and Alexandre Ratchov.

These patches have been tested on a x86_64 machine with a 20TB device and with updated e2fsprogs available here:
http://www.bullopensource.org/ext4/20061124

If we already see that the execution time of fsck and mkfs commands is reduced when increasing the size of groups on a large filesystem, I'll will do performance testing in the next days to see the other impacts of this modification.

Any comments are welcome.

Thanks,

Valerie.