diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-10-01 13:02:02 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-10-09 09:06:06 +0200 |
commit | c107a6c0cf1ab883ea87ca50136f4fc5204a4b82 (patch) | |
tree | f86ffda64d488b89aa89b5423d45923aded137b8 /lib/uuid.c | |
parent | IB/iser: Fix DEVICE REMOVAL handling in the absence of iscsi daemon (diff) | |
download | linux-c107a6c0cf1ab883ea87ca50136f4fc5204a4b82.tar.xz linux-c107a6c0cf1ab883ea87ca50136f4fc5204a4b82.zip |
IB/iser: Don't bound release_work completions timeouts
We no longer rely on iscsi connection teardown sequence, so no need to
give a grace period and continue cleanup if it expired. Have
iser_conn_release wait for full completion before freeing iser_conn.
ib_completion:
Guaranteed to come when:
- Got DISCONNECTED/ADDR_CHANGE event or
- iSCSI called ep_disconnect/conn_stop
Guaranteed to finish when:
- Got TIMEWAIT_EXIT/DEVICE_REMOVAL event
- All Flush errors are consumed
- IB related resources are destroyed
stop_completion:
Guaranteed to come when:
- iSCSI calls conn_stop
Guaranteed to finish when:
- All inflight tasks were cleaned up
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions