From 60e878e80aaa0f217b538261380f95ecceba7ed9 Mon Sep 17 00:00:00 2001 From: Perry Ruiter Date: Tue, 27 May 2014 01:26:59 -0700 Subject: [PATCH] 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. Reviewed-on: http://gerrit.openafs.org/11174 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: D Brashear (cherry picked from commit 02565591855f5a5ddb7dd6e308d9f535c2fd64b8) Change-Id: I691a7d6025a1b4353f479049d09c54297b80989c Reviewed-on: http://gerrit.openafs.org/11209 Tested-by: BuildBot Reviewed-by: Perry Ruiter Reviewed-by: Andrew Deason Reviewed-by: Benjamin Kaduk Reviewed-by: Stephan Wiesand --- src/afs/afs.h | 1 - src/config/afs_args.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/afs.h b/src/afs/afs.h index e659851bc..cc855271b 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 153fba86e..09316d597 100644 --- a/src/config/afs_args.h +++ b/src/config/afs_args.h @@ -185,6 +185,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 { -- 2.39.5