IB/srp: Process all error completions
authorBart Van Assche <bvanassche@acm.org>
Mon, 26 Nov 2012 10:16:40 +0000 (11:16 +0100)
committerRoland Dreier <roland@purestorage.com>
Sat, 1 Dec 2012 01:40:31 +0000 (17:40 -0800)
commit4f0af69799b0e7b9805c4d174169f5ed7bf315c1
treecdfe7e938ae3c935b7515d8a6d7cd9706cbdebfe
parent948d1e889e5bd6ceffcc31db2beba39331087df3
IB/srp: Process all error completions

If the RDMA RC connection is closed, tell the SCSI mid-layer to
terminate all pending commands instead of only the first.

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