From aa56d86732243169fc09d4bf405f87d600a32305 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 12 Jun 2008 18:25:03 +0000 Subject: [PATCH] STABLE14-volume-limit-higher-20080612 LICENSE IPL10 allow more volume lookups to be cached (cherry picked from commit bc47951c9ec0845eafe0d1634f56b761cbf8b06f) --- src/afs/afs_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_init.c b/src/afs/afs_init.c index 21b4382d9..cfbace728 100644 --- a/src/afs/afs_init.c +++ b/src/afs/afs_init.c @@ -116,8 +116,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++) -- 2.39.5