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: NBart Van Assche <bvanassche@acm.org> [ broken out and small cleanups by David Dillow ] Signed-off-by: NDavid Dillow <dillowda@ornl.gov>
Showing
想要评论请 注册 或 登录