]> arthur.barton.de Git - netatalk.git/commitdiff
Increase default DSI blocksize to 1 MB, taken from 10.8 AFP server
authorRalph Boehme <sloowfranklin@gmail.com>
Thu, 24 Jan 2013 18:00:23 +0000 (19:00 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Fri, 25 Jan 2013 18:45:34 +0000 (19:45 +0100)
NEWS
include/atalk/dsi.h
man/man5/afp.conf.5.tmpl

diff --git a/NEWS b/NEWS
index 154eccf2219f26fc167b7a16aa581679c9e319f2..d98cac8ac536dbdb2378ea86ac6b279c792327cb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+Changes in 3.0.3
+================
+* UPD: afpd: Increase default DSI server quantum to 1 MB
+
 Changes in 3.0.2
 ================
 * NEW: afpd: Put file extension type/creator mapping back in which had
index 00c80d423e80c1f345bbfca261ecdfe9b0a6d725..11fb59b209722dfa67b2d3844dd23c37047025b1 100644 (file)
@@ -138,7 +138,7 @@ typedef struct DSI {
 #define DSI_DEFQUANT        2           /* default attention quantum size */
 #define DSI_SERVQUANT_MAX   0xffffffff  /* server quantum */
 #define DSI_SERVQUANT_MIN   32000       /* minimum server quantum */
-#define DSI_SERVQUANT_DEF   0x0004A2E0L /* default server quantum */
+#define DSI_SERVQUANT_DEF   0x100000L   /* default server quantum (1 MB) */
 
 /* default port number */
 #define DSI_AFPOVERTCP_PORT 548
index 9f9d007b45dd1652d07e63269e14b6c60fe420d3..4f2472c30b15a3afdd5e2799381017a40eb64618 100644 (file)
@@ -465,7 +465,7 @@ Sets the maximum number of clients that can simultaneously connect to the server
 .PP
 server quantum = \fInumber\fR \fB(G)\fR
 .RS 4
-This specifies the DSI server quantum\&. The default value is 303840\&. The maximum value is 0xFFFFFFFFF, the minimum is 32000\&. If you specify a value that is out of range, the default value will be set\&. Do not change this value unless you\*(Aqre absolutely sure, what you\*(Aqre doing
+This specifies the DSI server quantum\&. The default value is 1 MB\&. The maximum value is 0xFFFFFFFFF, the minimum is 32000\&. If you specify a value that is out of range, the default value will be set\&. Do not change this value unless you\*(Aqre absolutely sure, what you\*(Aqre doing
 .RE
 .PP
 sleep time = \fInumber\fR \fB(G)\fR