Re: [PATCH] calc_max_buckets bug

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

 



On Wed, 2004-03-10 at 10:44, Joe Thornber wrote:
> On Wed, Mar 10, 2004 at 09:10:59AM -0500, Chris Mason wrote:
> > Hello everyone,
> > 
> > This is in both 2.4.x lvm and 2.6.x dm code, calc_max_buckets is broken
> > for 32bit machines with > 4GB of ram.  This leads to -ENOMEM errors
> > during snapshot creation.
> 
> heh, this must be the only bit of code I copied from LVM1 :) Serves me
> right for being lazy.

Do you see any problems with using a smaller fixed size on the hash
table.  It seems like 2MB should be enough to me.

-chris


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux