summaryrefslogtreecommitdiffstats
path: root/source/include/local.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-03-03 03:43:57 +0000
committerJeremy Allison <jra@samba.org>2005-03-03 03:43:57 +0000
commita8c5f70c0c2842f72cd60b68ff85908eeba0b517 (patch)
treeaf871932352e08c184c0f22ffc67db454b1c2f1b /source/include/local.h
parent89a8a1103820b4d59ad01993d7088968c146c439 (diff)
downloadsamba-a8c5f70c0c2842f72cd60b68ff85908eeba0b517.tar.gz
samba-a8c5f70c0c2842f72cd60b68ff85908eeba0b517.tar.xz
samba-a8c5f70c0c2842f72cd60b68ff85908eeba0b517.zip
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.
Diffstat (limited to 'source/include/local.h')
-rw-r--r--source/include/local.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/include/local.h b/source/include/local.h
index 7d5baa21fa8..8960a4af553 100644
--- a/source/include/local.h
+++ b/source/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