linux_dsm_epyc7002/drivers/infiniband/ulp
Bart Van Assche ef6c49d87c IB/srp: Eliminate state SRP_TARGET_DEAD
Only queue removal work after having changed the target state
into SRP_TARGET_REMOVED and not if that state was already equal
to SRP_TARGET_REMOVED.  That allows us to remove the state
SRP_TARGET_DEAD.  Add a call to srp_disconnect_target() in
srp_remove_target() -- due to previous changes it is now safe to
invoke that function even if the IB connection has already
been disconnected.  This change allows us to replace the target
removal code in srp_remove_one() by an (indirect) call to
srp_remove_target().  Rename srp_target_port.work into
srp_target_port.remove_work to reflect its usage.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-11-30 17:40:31 -08:00
..
ipoib IPoIB: Fix build with CONFIG_INFINIBAND_IPOIB_CM=n 2012-10-02 21:33:41 -07:00
iser IB/iser: Add more RX CQs to scale out processing of SCSI responses 2012-10-03 21:26:49 -07:00
srp IB/srp: Eliminate state SRP_TARGET_DEAD 2012-11-30 17:40:31 -08:00
srpt target: Simplify fabric sense data length handling 2012-09-17 17:12:58 -07:00