diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-09-18 23:20:35 (GMT) |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 02:46:31 (GMT) |
commit | b8eed28375a43e1c9aaa9d15af2a052aae0d0725 (patch) | |
tree | e63b713d5ae69afee73bf40487e5f067f2a66eb9 /fs/cifs/Kconfig | |
parent | 6f49f46b187df34539f1e5df2469b8a541897700 (diff) | |
download | linux-b8eed28375a43e1c9aaa9d15af2a052aae0d0725.tar.xz |
cifs: cork the socket before a send and uncork it afterward
We want to send SMBs as "atomically" as possible. Prior to sending any
data on the socket, cork it to make sure that no non-full frames go
out. Afterward, uncork it to make sure all of the data gets pushed out
to the wire.
Note that this more or less renders the socket=TCP_NODELAY mount option
obsolete. When TCP_CORK and TCP_NODELAY are used on the same socket,
TCP_NODELAY is essentially ignored.
Acked-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/Kconfig')
0 files changed, 0 insertions, 0 deletions