aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 5d0fde18039c..ecf0ffbe2b64 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -18,6 +18,7 @@
18 */ 18 */
19#include <linux/in.h> 19#include <linux/in.h>
20#include <linux/in6.h> 20#include <linux/in6.h>
21#include <linux/slab.h>
21#include <linux/slow-work.h> 22#include <linux/slow-work.h>
22#include "cifs_fs_sb.h" 23#include "cifs_fs_sb.h"
23#include "cifsacl.h" 24#include "cifsacl.h"
@@ -39,7 +40,7 @@
39 40
40/* 41/*
41 * MAX_REQ is the maximum number of requests that WE will send 42 * MAX_REQ is the maximum number of requests that WE will send
42 * on one socket concurently. It also matches the most common 43 * on one socket concurrently. It also matches the most common
43 * value of max multiplex returned by servers. We may 44 * value of max multiplex returned by servers. We may
44 * eventually want to use the negotiated value (in case 45 * eventually want to use the negotiated value (in case
45 * future servers can handle more) when we are more confident that 46 * future servers can handle more) when we are more confident that
@@ -149,6 +150,7 @@ struct TCP_Server_Info {
149 bool svlocal:1; /* local server or remote */ 150 bool svlocal:1; /* local server or remote */
150 bool noblocksnd; /* use blocking sendmsg */ 151 bool noblocksnd; /* use blocking sendmsg */
151 bool noautotune; /* do not autotune send buf sizes */ 152 bool noautotune; /* do not autotune send buf sizes */
153 bool tcp_nodelay;
152 atomic_t inFlight; /* number of requests on the wire to server */ 154 atomic_t inFlight; /* number of requests on the wire to server */
153#ifdef CONFIG_CIFS_STATS2 155#ifdef CONFIG_CIFS_STATS2
154 atomic_t inSend; /* requests trying to send */ 156 atomic_t inSend; /* requests trying to send */
@@ -204,7 +206,7 @@ struct cifsUidInfo {
204struct cifsSesInfo { 206struct cifsSesInfo {
205 struct list_head smb_ses_list; 207 struct list_head smb_ses_list;
206 struct list_head tcon_list; 208 struct list_head tcon_list;
207 struct semaphore sesSem; 209 struct mutex session_mutex;
208#if 0 210#if 0
209 struct cifsUidInfo *uidInfo; /* pointer to user info */ 211 struct cifsUidInfo *uidInfo; /* pointer to user info */
210#endif 212#endif
@@ -388,6 +390,7 @@ struct cifsInodeInfo {
388 bool clientCanCacheRead:1; /* read oplock */ 390 bool clientCanCacheRead:1; /* read oplock */
389 bool clientCanCacheAll:1; /* read and writebehind oplock */ 391 bool clientCanCacheAll:1; /* read and writebehind oplock */
390 bool delete_pending:1; /* DELETE_ON_CLOSE is set */ 392 bool delete_pending:1; /* DELETE_ON_CLOSE is set */
393 bool invalid_mapping:1; /* pagecache is invalid */
391 u64 server_eof; /* current file size on server */ 394 u64 server_eof; /* current file size on server */
392 u64 uniqueid; /* server inode number */ 395 u64 uniqueid; /* server inode number */
393 struct inode vfs_inode; 396 struct inode vfs_inode;