linux_dsm_epyc7002/drivers/infiniband/ulp/iser
Ariel Nahum 9a6d3234a1 IB/iser: Replace connection waitqueue with completion object
Instead of waiting for events and condition changes of the iser
connection state, we wait for explicit completion of connection
establishment and teardown.

Separate connection establishment wait object from the teardown object
to avoid a situation where racing connection establishment and
teardown may concurrently wakeup each other.

ep_poll will wait for up_completion invoked by
iser_connected_handler() and iser release worker will wait for
flush_completion before releasing the connection.

Bound the completion wait with a 30 seconds timeout for cases where
iscsid (the user space iscsi daemon) is too slow or gone.

Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-08-01 15:10:05 -07:00
..
iscsi_iser.c IB/iser: Replace connection waitqueue with completion object 2014-08-01 15:10:05 -07:00
iscsi_iser.h IB/iser: Replace connection waitqueue with completion object 2014-08-01 15:10:05 -07:00
iser_initiator.c libiscsi, iser: Adjust data_length to include protection information 2014-06-11 13:06:45 -07:00
iser_memory.c IB/iser: Update Mellanox copyright note 2014-04-01 11:09:46 -07:00
iser_verbs.c IB/iser: Replace connection waitqueue with completion object 2014-08-01 15:10:05 -07:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00