From: Perry Ruiter Date: Tue, 27 May 2014 08:26:59 +0000 (-0700) Subject: config: Move AFS_LRALLOCSIZ to afs_args.h X-Git-Tag: upstream/1.8.0_pre1^2~660 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=02565591855f5a5ddb7dd6e308d9f535c2fd64b8;p=packages%2Fo%2Fopenafs.git config: Move AFS_LRALLOCSIZ to afs_args.h AFS_LRALLOCSIZ is currently defined in afs/afs.h. Other memory related definitions such as AFS_SMALLOCSIZ and AFS_MDALLOCSIZ are defined in config/afs_args.h. Move AFS_LRALLOCSIZ to config/afs_args.h for consistency. Change-Id: Ie1e286c24be6a2def404a54355a2fa4b2c42330d Reviewed-on: http://gerrit.openafs.org/11174 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: D Brashear --- diff --git a/src/afs/afs.h b/src/afs/afs.h index 38df2cf45..a1979b217 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -95,7 +95,6 @@ extern int afs_shuttingdown; #define AFS_MAXCBRSCALL 32 /* max to return in a given call (must be <= AFSCBMAX) */ -#define AFS_LRALLOCSIZ 4096 /* "Large" allocated size */ #define VCACHE_FREE 5 #define AFS_NRXPACKETS 80 #define AFS_RXDEADTIME 50 diff --git a/src/config/afs_args.h b/src/config/afs_args.h index 089c27a03..296cf96e1 100644 --- a/src/config/afs_args.h +++ b/src/config/afs_args.h @@ -179,6 +179,7 @@ struct afs_cacheParams { #else #define AFS_SMALLOCSIZ (64*sizeof(void *)) /* "Small" allocated size */ #endif +#define AFS_LRALLOCSIZ 4096 /* "Large" allocated size */ /* Cache configuration available through the client callback interface */ typedef struct cm_initparams_v1 {