Home
last modified time | relevance | path

Searched hist:"536 ae14e7588e85203d4b4147c041309be5b3efb" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.hdiff 536ae14e7588e85203d4b4147c041309be5b3efb Fri Nov 26 19:58:27 CET 2010 Bart Van Assche <bvanassche@acm.org> IB/srp: don't move active requests to their own list

We use req->scmnd != NULL to indicate an active request, so there's no
need to keep a separate list for them. We can afford the array iteration
during error handling, and dropping it gives us one less item that needs
lock protection.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
[ broken out and small cleanups by David Dillow ]
Signed-off-by: David Dillow <dillowda@ornl.gov>
H A Dib_srp.cdiff 536ae14e7588e85203d4b4147c041309be5b3efb Fri Nov 26 19:58:27 CET 2010 Bart Van Assche <bvanassche@acm.org> IB/srp: don't move active requests to their own list

We use req->scmnd != NULL to indicate an active request, so there's no
need to keep a separate list for them. We can afford the array iteration
during error handling, and dropping it gives us one less item that needs
lock protection.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
[ broken out and small cleanups by David Dillow ]
Signed-off-by: David Dillow <dillowda@ornl.gov>