From 8211a0aaf7f4780d92d20c3686c3b44b8692c3b0 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Fri, 28 Sep 2018 15:15:32 -0500 Subject: [PATCH] afs: Raise AFS_MINBUFFERS We currently only allocate 50 or 100 (depending on platform) dir buffers for the buffer cache, which seems very low. Raise it to 2048, and make it consistent for all platforms, to give the buffers a chance at actually usefully caching data. Change-Id: If95eafde771993532dac08057cbd1e1a8cef915c Reviewed-on: https://gerrit.openafs.org/13532 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Cheyenne Wills --- src/afs/afs_call.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index ad42cfb43f..c4407ae37c 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -41,11 +41,7 @@ # include #endif -#if defined(AFS_SUN5_ENV) || defined(AFS_AIX_ENV) || defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) -#define AFS_MINBUFFERS 100 -#else -#define AFS_MINBUFFERS 50 -#endif +#define AFS_MINBUFFERS 2048 #if (defined(AFS_SUN5_ENV) || defined(AFS_LINUX_ENV) || defined(AFS_DARWIN80_ENV)) && !defined(UKERNEL) /* If AFS_DAEMONOP_ENV is defined, it indicates we run "daemon" AFS syscalls by