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.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index e7ba48c61a7a..6a8c7d1bee8c 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -215,6 +215,7 @@ struct cifsTconInfo {
215 atomic_t num_reads; 215 atomic_t num_reads;
216 atomic_t num_oplock_brks; 216 atomic_t num_oplock_brks;
217 atomic_t num_opens; 217 atomic_t num_opens;
218 atomic_t num_closes;
218 atomic_t num_deletes; 219 atomic_t num_deletes;
219 atomic_t num_mkdirs; 220 atomic_t num_mkdirs;
220 atomic_t num_rmdirs; 221 atomic_t num_rmdirs;
@@ -223,10 +224,27 @@ struct cifsTconInfo {
223 atomic_t num_ffirst; 224 atomic_t num_ffirst;
224 atomic_t num_fnext; 225 atomic_t num_fnext;
225 atomic_t num_fclose; 226 atomic_t num_fclose;
227 atomic_t num_hardlinks;
228 atomic_t num_symlinks;
229 atomic_t num_locks;
230#ifdef CONFIG_CIFS_STATS2
231 unsigned long long time_writes;
232 unsigned long long time_reads;
233 unsigned long long time_opens;
234 unsigned long long time_deletes;
235 unsigned long long time_closes;
236 unsigned long long time_mkdirs;
237 unsigned long long time_rmdirs;
238 unsigned long long time_renames;
239 unsigned long long time_t2renames;
240 unsigned long long time_ffirst;
241 unsigned long long time_fnext;
242 unsigned long long time_fclose;
243#endif /* CONFIG_CIFS_STATS2 */
226 __u64 bytes_read; 244 __u64 bytes_read;
227 __u64 bytes_written; 245 __u64 bytes_written;
228 spinlock_t stat_lock; 246 spinlock_t stat_lock;
229#endif 247#endif /* CONFIG_CIFS_STATS */
230 FILE_SYSTEM_DEVICE_INFO fsDevInfo; 248 FILE_SYSTEM_DEVICE_INFO fsDevInfo;
231 FILE_SYSTEM_ATTRIBUTE_INFO fsAttrInfo; /* ok if file system name truncated */ 249 FILE_SYSTEM_ATTRIBUTE_INFO fsAttrInfo; /* ok if file system name truncated */
232 FILE_SYSTEM_UNIX_INFO fsUnixInfo; 250 FILE_SYSTEM_UNIX_INFO fsUnixInfo;