diff options
author | Steve French <sfrench@us.ibm.com> | 2005-10-11 22:58:06 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-10-11 22:58:06 -0400 |
commit | 1047abc159b4eb4ba4a7342a0969e16e9d4b4c69 (patch) | |
tree | 532cf6200f2c63869f006dfad2b41d9d408a9a59 /fs/cifs/README | |
parent | 4ca9c190d902caa7efb899a4c7fc8c6e6d926e95 (diff) |
[CIFS] CIFS Stats improvements
New cifs_writepages routine was not updated bytes written in cifs stats.
Also added ability to clear /proc/fs/cifs/Stats by writing (0 or 1) to it.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/README')
-rw-r--r-- | fs/cifs/README | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fs/cifs/README b/fs/cifs/README index e7a3ce62d71b..bb90941826ad 100644 --- a/fs/cifs/README +++ b/fs/cifs/README | |||
@@ -482,9 +482,16 @@ These experimental features and tracing can be enabled by changing flags in | |||
482 | kernel, e.g. insmod cifs). To enable a feature set it to 1 e.g. to enable | 482 | kernel, e.g. insmod cifs). To enable a feature set it to 1 e.g. to enable |
483 | tracing to the kernel message log type: | 483 | tracing to the kernel message log type: |
484 | 484 | ||
485 | echo 1 > /proc/fs/cifs/cifsFYI | 485 | echo 7 > /proc/fs/cifs/cifsFYI |
486 | 486 | ||
487 | and for more extensive tracing including the start of smb requests and responses | 487 | cifsFYI functions as a bit mask. Setting it to 1 enables additional kernel |
488 | logging of various informational messages. 2 enables logging of non-zero | ||
489 | SMB return codes while 4 enables logging of requests that take longer | ||
490 | than one second to complete (except for byte range lock requests). | ||
491 | Setting it to 4 requires defining CONFIG_CIFS_STATS2 manually in the | ||
492 | source code (typically by setting it in the beginning of cifsglob.h), | ||
493 | and setting it to seven enables all three. Finally, tracing | ||
494 | the start of smb requests and responses can be enabled via: | ||
488 | 495 | ||
489 | echo 1 > /proc/fs/cifs/traceSMB | 496 | echo 1 > /proc/fs/cifs/traceSMB |
490 | 497 | ||