git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6752f
)
cifs: reduce echo interval to reduce connection timeout
author
Grazvydas Ignotas
<notasas@gmail.com>
Mon, 16 Feb 2015 02:29:35 +0000
(
04:29
+0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Fri, 20 Feb 2015 22:05:32 +0000
(
00:05
+0200)
This reduces stale cifs timeout on shutdown from 5 minutes to 30s
fs/cifs/connect.c
patch
|
blob
|
history
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index
49d6e21
..
b7b8ef4
100644
(file)
--- a/
fs/cifs/connect.c
+++ b/
fs/cifs/connect.c
@@
-54,7
+54,7
@@
#define RFC1001_PORT 139
/* SMB echo "timeout" -- FIXME: tunable? */
-#define SMB_ECHO_INTERVAL (6
0
* HZ)
+#define SMB_ECHO_INTERVAL (6 * HZ)
extern mempool_t *cifs_req_poolp;