IB/srp: Eliminate state SRP_TARGET_CONNECTING
authorBart Van Assche <bvanassche@acm.org>
Sat, 17 Mar 2012 17:18:54 +0000 (17:18 +0000)
committerRoland Dreier <roland@purestorage.com>
Sat, 1 Dec 2012 01:40:29 +0000 (17:40 -0800)
commit09be70a238005cc33f2a52b0aeae52f117e81582
tree503bc827e108bf820cd55aa605a6e6d36f8ac00d
parentc9b03c1ae55decc721310b79d8f50d44fbb37dc7
IB/srp: Eliminate state SRP_TARGET_CONNECTING

Block the SCSI host while reconnecting instead of representing the
reconnection activity as a distinct SRP target state.  This allows us
to eliminate the target state SRP_TARGET_CONNECTING.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h