From 02fdabc2a7f0199bc5f42afb2c744f3c740122e4 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 3 Mar 2005 03:43:57 +0000 Subject: r5636: Re-add the allocation size - parameterized by share as "allocation roundup size", by default set as 1Mb. From advice by BlueArc about Windows client behaviour. VC++ people can set this to zero to turn it off. Jeremy. (This used to be commit 833ca101772bfab65dbd79eb64f63464177f144e) --- source3/include/local.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/local.h') diff --git a/source3/include/local.h b/source3/include/local.h index 7d5baa21fa..8960a4af55 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -198,6 +198,9 @@ /* the maximum age in seconds of a password. Should be a lp_ parameter */ #define MAX_PASSWORD_AGE (21*24*60*60) +/* Default allocation roundup. */ +#define SMB_ROUNDUP_ALLOCATION_SIZE 0x100000 + /* shall we deny oplocks to clients that get timeouts? */ #define FASCIST_OPLOCK_BACKOFF 1 -- cgit