diff options
author | Steve French <sfrench@us.ibm.com> | 2006-11-07 11:31:16 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-11-07 11:31:16 -0500 |
commit | 4891d53956abd4ad9d94127c50d931124319a324 (patch) | |
tree | a6bc60843961556e72de24230fb6fc5f46173f12 /fs | |
parent | c836b7716a97021128da43e6fdb61096d5c4156d (diff) |
[CIFS] NFS stress test generates flood of "close with pending write" messages
Informational/debug message was being logged too often. The error
case of logging having to send a close with (presumably stuck on buggy
server) pending writes is still logged.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/file.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 7e056b9b49e..4b07a8cc463 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -492,10 +492,13 @@ int cifs_close(struct inode *inode, struct file *file) | |||
492 | the struct would be in each open file, | 492 | the struct would be in each open file, |
493 | but this should give enough time to | 493 | but this should give enough time to |
494 | clear the socket */ | 494 | clear the socket */ |
495 | cERROR(1,("close with pending writes")); | 495 | #ifdef CONFIG_CIFS_DEBUG2 |
496 | cFYI(1,("close delay, write pending")); | ||
497 | #endif /* DEBUG2 */ | ||
496 | msleep(timeout); | 498 | msleep(timeout); |
497 | timeout *= 4; | 499 | timeout *= 4; |
498 | } | 500 | } |
501 | cERROR(1,("close with pending writes")); | ||
499 | rc = CIFSSMBClose(xid, pTcon, | 502 | rc = CIFSSMBClose(xid, pTcon, |
500 | pSMBFile->netfid); | 503 | pSMBFile->netfid); |
501 | } | 504 | } |