diff options
author | Eddie Wai <eddie.wai@broadcom.com> | 2010-07-01 15:34:52 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 12:03:58 -0500 |
commit | 55e15c975cbf9ef8b765eba9ebadc96f2a2e5752 (patch) | |
tree | 9d0249480f287463f6ef98f03d58406c9965ac18 /drivers/rtc/rtc-ab3100.c | |
parent | 46012e8b8de325472790d154f4cfb1cf2d4fc49a (diff) | |
download | linux-next-55e15c975cbf9ef8b765eba9ebadc96f2a2e5752.tar.gz |
[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 <eddie.wai@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Acked-by: Anil Veerabhadrappa <anilgv@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/rtc/rtc-ab3100.c')
0 files changed, 0 insertions, 0 deletions