Increase default size of bitmap for v1 superblocks.

It can be increased further, but that takes a bit more code
so will wait for 2.6.
This commit is contained in:
Neil Brown 2006-10-19 16:46:38 +10:00
parent 702b557b1c
commit 1746711680
1 changed files with 1 additions and 1 deletions

View File

@ -1136,7 +1136,7 @@ add_internal_bitmap1(struct supertype *st, void *sbv,
*/
unsigned long long bits;
unsigned long long max_bits = (3*512 - sizeof(bitmap_super_t)) * 8;
unsigned long long max_bits = (6*512 - sizeof(bitmap_super_t)) * 8;
unsigned long long min_chunk;
struct mdp_superblock_1 *sb = sbv;
bitmap_super_t *bms = (bitmap_super_t*)(((char*)sb) + 1024);