From: Grazvydas Ignotas Date: Mon, 16 Feb 2015 02:29:35 +0000 (+0200) Subject: cifs: reduce echo interval to reduce connection timeout X-Git-Tag: sz_173~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599befb4d40b6017554f13fc6bd643c12a5f5c83;p=pandora-kernel.git cifs: reduce echo interval to reduce connection timeout This reduces stale cifs timeout on shutdown from 5 minutes to 30s --- diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 49d6e21052c2..b7b8ef4248c2 100644 --- 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 (60 * HZ) +#define SMB_ECHO_INTERVAL (6 * HZ) extern mempool_t *cifs_req_poolp;