aboutsummaryrefslogtreecommitdiffstats
path: root/include/mtd
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2010-11-26 14:50:09 -0500
committerDavid Dillow <dillowda@ornl.gov>2011-01-10 15:44:50 -0500
commit94a9174c630c8465ed9e97ecd242993429930c05 (patch)
tree73ddbe0024d54bad543c90144576148b70922eea /include/mtd
parent76c75b258f1fe6abac6af2356989ad4d6518886e (diff)
downloadkernel_samsung_espresso10-94a9174c630c8465ed9e97ecd242993429930c05.zip
kernel_samsung_espresso10-94a9174c630c8465ed9e97ecd242993429930c05.tar.gz
kernel_samsung_espresso10-94a9174c630c8465ed9e97ecd242993429930c05.tar.bz2
IB/srp: reduce lock coverage of command completion
We only need the lock to cover list and credit manipulations, so push those into srp_remove_req() and update the call chains. We reorder the request removal and command completion in srp_process_rsp() to avoid the SCSI mid-layer sending another command before we've released our request and added any credits returned by the target. This prevents us from returning HOST_BUSY unneccesarily. Signed-off-by: Bart Van Assche <bvanassche@acm.org> [ broken out, small cleanups, and modified to avoid potential extraneous HOST_BUSY returns by David Dillow ] Signed-off-by: David Dillow <dillowda@ornl.gov>
Diffstat (limited to 'include/mtd')
0 files changed, 0 insertions, 0 deletions