From 950f800ac4680eb68bc6dba7896fb73d74278b40 Mon Sep 17 00:00:00 2001 From: Yan Burman Date: Wed, 28 Jan 2015 12:14:53 +0000 Subject: [PATCH] isert: Decrease connection timeout from 120 to 60 seconds Signed-off-by: Yan Burman git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5995 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/isert_login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/kernel/isert-scst/isert_login.c b/iscsi-scst/kernel/isert-scst/isert_login.c index 233aec5ce..7665a7e88 100644 --- a/iscsi-scst/kernel/isert-scst/isert_login.c +++ b/iscsi-scst/kernel/isert-scst/isert_login.c @@ -165,7 +165,7 @@ static int add_new_connection(struct isert_listener_dev *dev, init_timer(&conn_dev->tmo_timer); conn_dev->tmo_timer.function = isert_conn_timer_fn; - conn_dev->tmo_timer.expires = jiffies + 120 * HZ; + conn_dev->tmo_timer.expires = jiffies + 60 * HZ; conn_dev->tmo_timer.data = (unsigned long)conn_dev; add_timer(&conn_dev->tmo_timer); conn_dev->timer_active = 1;