Files
scst/iscsi-scst/kernel
Vladislav Bolkhovitin a8b24ae319 iscsi_scst: conn_lookup() skips any conn already closing
This change helped a secondary problem I had under valgrind (due to some other
bug) with initiators timing out and reconnecting their sessions faster than the
threads were getting cleaned up (for one thing, valgrind only ever runs one
thread at a time).

It seems logical that the code in conn_lookup() would want to skip any
connection that's already known closing in this case, for the same reason it
searches the list in reverse.  And the dropping connections don't have to drop
in order, so searching in reverse doesn't seem sufficient to avoid finding a
wrong (stale, closing) connection structure.

Signed-off-by: David Butterfield <dab21774@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7144 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-21 01:36:34 +00:00
..
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-08-03 02:32:17 +00:00
2017-04-21 01:32:07 +00:00
2015-08-25 02:56:08 +00:00
2015-06-12 16:15:45 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00