isert: Decrease connection timeout from 120 to 60 seconds

Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5995 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Yan Burman
2015-01-28 12:14:53 +00:00
parent f90984d6da
commit 950f800ac4

View File

@@ -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;