diff options
author | Steve French <sfrench@us.ibm.com> | 2010-01-01 01:28:43 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-01-01 01:28:43 +0000 |
commit | 6a5fa2362b628ee950080bef8895a6fb62f58ab4 (patch) | |
tree | 6c756adf9c571529a7ace4e9da807b85e7b1c985 /fs/cifs/cifsglob.h | |
parent | df9d1e8a4379119cbc47c474f168b5103e404e17 (diff) | |
download | kernel_samsung_tuna-6a5fa2362b628ee950080bef8895a6fb62f58ab4.zip kernel_samsung_tuna-6a5fa2362b628ee950080bef8895a6fb62f58ab4.tar.gz kernel_samsung_tuna-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 4b35f7e..ed751bb 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 */ |