diff options
| author | Eddie Wai <[email protected]> | 2010-07-01 15:34:52 -0700 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2010-07-27 12:03:58 -0500 |
| commit | 55e15c975cbf9ef8b765eba9ebadc96f2a2e5752 (patch) | |
| tree | 9d0249480f287463f6ef98f03d58406c9965ac18 /tools/perf/scripts | |
| parent | 46012e8b8de325472790d154f4cfb1cf2d4fc49a (diff) | |
[SCSI] bnx2i: Optimized the bnx2i_stop connection clean up procedure
For cases where the iSCSI disconnection procedure times out due to
the iSCSI daemon being slow or unresponsive, the bnx2i_stop routine
will now perform hardware cleanup via bnx2i_hw_ep_disconnect on all
active endpoints so that subsequent operations will perform properly.
Also moved the mutex locks inside ep_connect and ep_disconnect so
that proper exclusivity can resolve simultaneous calls to the
ep_disconnect routine.
v2: Removed the unnecessary read lock in the bnx2i_stop
Signed-off-by: Eddie Wai <[email protected]>
Reviewed-by: Michael Chan <[email protected]>
Reviewed-by: Benjamin Li <[email protected]>
Acked-by: Anil Veerabhadrappa <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions