diff options
author | Jeff Layton <jlayton@samba.org> | 2011-05-26 14:56:37 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2011-05-26 14:56:37 -0400 |
commit | 3a2a7fc40d98389766c82435a5b5332ab2272838 (patch) | |
tree | 6392d56eb4418c3fd9c0b963e032215a4c33ff46 /mount.cifs.8 | |
parent | fd6405b059d3d066ecdff90a4b0024d28795948e (diff) | |
download | cifs-utils-3a2a7fc40d98389766c82435a5b5332ab2272838.tar.gz cifs-utils-3a2a7fc40d98389766c82435a5b5332ab2272838.tar.bz2 cifs-utils-3a2a7fc40d98389766c82435a5b5332ab2272838.zip |
manpage: update the description of the wsize= option
...to account for the changes in the async write patchset.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'mount.cifs.8')
-rw-r--r-- | mount.cifs.8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mount.cifs.8 b/mount.cifs.8 index ddecb2a..1b6a958 100644 --- a/mount.cifs.8 +++ b/mount.cifs.8 @@ -394,9 +394,9 @@ rsize=\fIarg\fR default network read size (usually 16K)\&. The client currently can not use rsize larger than CIFSMaxBufSize\&. CIFSMaxBufSize defaults to 16K and may be changed (from 8K to the maximum kmalloc size allowed by your kernel) at module install time for cifs\&.ko\&. Setting CIFSMaxBufSize to a very large value will cause cifs to use more memory and may reduce performance in some cases\&. To use rsize greater than 127K (the original cifs protocol maximum) also requires that the server support a new Unix Capability flag (for very large read) which some newer servers (e\&.g\&. Samba 3\&.0\&.26 or later) do\&. rsize can be set from a minimum of 2048 to a maximum of 130048 (127K or CIFSMaxBufSize, whichever is smaller) .RE .PP -wsize=\fIarg\fR +wsize=\fIbytes\fR .RS 4 -default network write size (default 57344) maximum wsize currently allowed by CIFS is 57344 (fourteen 4096 byte pages) +Maximum amount of data that the kernel will send in a write request in bytes. Prior to kernel 2\&.6\&.40, the default and maximum was 57344 (14 * 4096 pages). As of 2\&.6\&.40, the default is 1M, and the maximum allowed is 16M. Note that this value is just a starting point for negotiation in 2\&.6\&.40 and up. The client and server may negotiate this size downward according to the server's capabilities. In kernels prior to 2\&.6\&.40, no negotiation is performed. .RE .PP fsc |