Re: Use of kmalloc vs vmalloc in ext4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 24, 2009 at 11:39:55PM -0400, Theodore Tso wrote:
> P.S.   What sort of flex_bg size are you using?
> 
>           EXT4-fs: not enough memory for 8198 flex groups
>           EXT4-fs: unable to initialize flex_bg meta info!
> 
> Modern e2fsprogs default to using 16 block groups per flex_bg, which
> means 8198 flex groups is a little over 16 TB --- which the mainline
> e2fsprogs doesn't support yet.  You wouldn't be using a smaller
> flex_bg size for some reason, are you?

Oh, never mind.  I didn't realize this last night, but we allocate
sbi->s_flex_counts so it is big enough in case the filesystem gets
resized to the maximum size.  So that's why it was trying to allocate
that many flex groups.  On the other hand, it means that it's much
more likely for us to need the extra memory.

							- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux