diff options
author | Steve French <sfrench@us.ibm.com> | 2005-10-10 13:34:22 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-10-10 13:34:22 -0400 |
commit | 68058e757573d4e81550e74c5a03a29a29069ce7 (patch) | |
tree | d8c6c318e2e486ae707a22915983afd512f38b51 /fs/cifs/cifs_debug.c | |
parent | 131afd0b748e382c3a00355d3fa245801f929298 (diff) |
[CIFS] Reduce CIFS tcp congestion timeout (it was too long) and backoff
ever longer amounts (up to 15 seconds). This improves performance
especially when using large wsize.
Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r-- | fs/cifs/cifs_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 785239618d89..b7fb064f6548 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c | |||
@@ -114,7 +114,7 @@ cifs_debug_data_read(char *buf, char **beginBuffer, off_t offset, | |||
114 | atomic_read(&ses->server->inFlight)); | 114 | atomic_read(&ses->server->inFlight)); |
115 | 115 | ||
116 | #ifdef CONFIG_CIFS_STATS2 | 116 | #ifdef CONFIG_CIFS_STATS2 |
117 | buf += sprintf(buf, "\tIn Send: %d In MaxReq Wait: %d", | 117 | buf += sprintf(buf, " In Send: %d In MaxReq Wait: %d", |
118 | atomic_read(&ses->server->inSend), | 118 | atomic_read(&ses->server->inSend), |
119 | atomic_read(&ses->server->num_waiters)); | 119 | atomic_read(&ses->server->num_waiters)); |
120 | #endif | 120 | #endif |
@@ -267,7 +267,7 @@ cifs_stats_read(char *buf, char **beginBuffer, off_t offset, | |||
267 | atomic_read(&tcon->num_oplock_brks)); | 267 | atomic_read(&tcon->num_oplock_brks)); |
268 | buf += item_length; | 268 | buf += item_length; |
269 | length += item_length; | 269 | length += item_length; |
270 | item_length = sprintf(buf, "\nReads: %d Bytes %lld", | 270 | item_length = sprintf(buf, "\nReads: %d Bytes %lld", |
271 | atomic_read(&tcon->num_reads), | 271 | atomic_read(&tcon->num_reads), |
272 | (long long)(tcon->bytes_read)); | 272 | (long long)(tcon->bytes_read)); |
273 | buf += item_length; | 273 | buf += item_length; |