commit | 76c75b258f1fe6abac6af2356989ad4d6518886e | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Fri Nov 26 14:37:47 2010 -0500 |
committer | David Dillow <dillowda@ornl.gov> | Mon Jan 10 15:44:49 2011 -0500 |
tree | 754db154ad76e44b5ecc6da71097a6f1c096ec6f | |
parent | 536ae14e7588e85203d4b4147c041309be5b3efb [diff] |
IB/srp: reduce local coverage for command submission and EH We only need locks to protect our lists and number of credits available. By pre-consuming the credit for the request, we can reduce our lock coverage to just those areas. If we don't actually send the request, we'll need to put the credit back into the pool. 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>