aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_debug.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-06-23 20:31:17 -0400
committerSteve French <sfrench@us.ibm.com>2005-06-23 20:31:17 -0400
commit0c0ff09329dafb165c0d9ac08965ddc0615020b1 (patch)
tree19b4cf11057b8cc740382c7d2c63b84538d45819 /fs/cifs/cifs_debug.c
parent45abc6ee2b916a235d6824a41225177bd6e5e24f (diff)
[CIFS] Performance improvement, finish up adding CIFSSMBWrite2
Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r--fs/cifs/cifs_debug.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
index 4061e43471c1..838171328076 100644
--- a/fs/cifs/cifs_debug.c
+++ b/fs/cifs/cifs_debug.c
@@ -283,6 +283,12 @@ cifs_stats_read(char *buf, char **beginBuffer, off_t offset,
283 atomic_read(&tcon->num_t2renames)); 283 atomic_read(&tcon->num_t2renames));
284 buf += item_length; 284 buf += item_length;
285 length += item_length; 285 length += item_length;
286 item_length = sprintf(buf,"\nFindFirst: %d FNext %d FClose %d",
287 atomic_read(&tcon->num_ffirst),
288 atomic_read(&tcon->num_fnext),
289 atomic_read(&tcon->num_fclose));
290 buf += item_length;
291 length += item_length;
286 } 292 }
287 read_unlock(&GlobalSMBSeslock); 293 read_unlock(&GlobalSMBSeslock);
288 294
@@ -360,7 +366,7 @@ cifs_proc_init(void)
360 if (pde) 366 if (pde)
361 pde->write_proc = oplockEnabled_write; 367 pde->write_proc = oplockEnabled_write;
362 368
363 pde = create_proc_read_entry("ReenableOldCifsReaddirCode", 0, proc_fs_cifs, 369 pde = create_proc_read_entry("Experimental", 0, proc_fs_cifs,
364 quotaEnabled_read, NULL); 370 quotaEnabled_read, NULL);
365 if (pde) 371 if (pde)
366 pde->write_proc = quotaEnabled_write; 372 pde->write_proc = quotaEnabled_write;
@@ -419,7 +425,7 @@ cifs_proc_clean(void)
419 remove_proc_entry("ExtendedSecurity",proc_fs_cifs); 425 remove_proc_entry("ExtendedSecurity",proc_fs_cifs);
420 remove_proc_entry("PacketSigningEnabled",proc_fs_cifs); 426 remove_proc_entry("PacketSigningEnabled",proc_fs_cifs);
421 remove_proc_entry("LinuxExtensionsEnabled",proc_fs_cifs); 427 remove_proc_entry("LinuxExtensionsEnabled",proc_fs_cifs);
422 remove_proc_entry("ReenableOldCifsReaddirCode",proc_fs_cifs); 428 remove_proc_entry("Experimental",proc_fs_cifs);
423 remove_proc_entry("LookupCacheEnabled",proc_fs_cifs); 429 remove_proc_entry("LookupCacheEnabled",proc_fs_cifs);
424 remove_proc_entry("cifs", proc_root_fs); 430 remove_proc_entry("cifs", proc_root_fs);
425} 431}