summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorAriel Nahum <arieln@mellanox.com>2014-07-31 13:27:50 +0300
committerRoland Dreier <roland@purestorage.com>2014-08-01 15:10:05 -0700
commit9a6d3234a192d4a3a51df1042c13af13f996242a (patch)
treea5c1c408abffe9c89c5d94b5c8cff6ae18844713 /drivers/spi
parent504130c039f917aba8b145fe8ea99be95e662fca (diff)
downloadtalos-obmc-linux-9a6d3234a192d4a3a51df1042c13af13f996242a.tar.gz
talos-obmc-linux-9a6d3234a192d4a3a51df1042c13af13f996242a.zip
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>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud