From: Derrick Brashear Date: Thu, 12 Jun 2008 18:24:38 +0000 (+0000) Subject: DEVEL15-volume-limit-higher-20080612 X-Git-Tag: openafs-devel-1_5_50~93 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f228b8de8d04cf99a1bc2e4c87e048b43483a5ef;p=packages%2Fo%2Fopenafs.git DEVEL15-volume-limit-higher-20080612 LICENSE IPL10 allow more volume lookups to be cached (cherry picked from commit bc47951c9ec0845eafe0d1634f56b761cbf8b06f) --- diff --git a/src/afs/afs_init.c b/src/afs/afs_init.c index 8364770c1..baebcdec9 100644 --- a/src/afs/afs_init.c +++ b/src/afs/afs_init.c @@ -123,8 +123,8 @@ afs_CacheInit(afs_int32 astatSize, afs_int32 afiles, afs_int32 ablocks, */ if (aVolumes < 50) aVolumes = 50; - else if (aVolumes > 3000) - aVolumes = 3000; + else if (aVolumes > 32767) + aVolumes = 32767; tv = (struct volume *)afs_osi_Alloc(aVolumes * sizeof(struct volume)); for (i = 0; i < aVolumes - 1; i++)