summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-01-01 01:28:43 +0000
committerSteve French <sfrench@us.ibm.com>2010-01-01 01:28:43 +0000
commit6a5fa2362b628ee950080bef8895a6fb62f58ab4 (patch)
tree6c756adf9c571529a7ace4e9da807b85e7b1c985 /fs/cifs/cifsglob.h
parentdf9d1e8a4379119cbc47c474f168b5103e404e17 (diff)
downloadlinux-6a5fa2362b628ee950080bef8895a6fb62f58ab4.tar.bz2
[CIFS] Add support for TCP_NODELAY
mount option sockopt=TCP_NODELAY helpful for faster networks boosting performance. Kernel bugzilla bug number 14032. Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 4b35f7ec0583..ed751bb657db 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -149,6 +149,7 @@ struct TCP_Server_Info {
bool svlocal:1; /* local server or remote */
bool noblocksnd; /* use blocking sendmsg */
bool noautotune; /* do not autotune send buf sizes */
+ bool tcp_nodelay;
atomic_t inFlight; /* number of requests on the wire to server */
#ifdef CONFIG_CIFS_STATS2
atomic_t inSend; /* requests trying to send */