]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Remove the memory registration backtracking code
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 11 Aug 2015 00:07:46 +0000 (17:07 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:37 +0000 (18:12 -0400)
commitb8cb0bcd24442c3c598c939ad3fbcb5f11ad5662
tree344d97538f6d08342efbed7bd2f324a1d5ea3dd8
parent4a02a054a1e54ea1e9bd04981979a8ad5ca55640
IB/srp: Remove the memory registration backtracking code

Mapping a discontiguous sg-list requires multiple memory regions
and hence can exhaust the memory region pool. The SRP initiator
already handles this by temporarily reducing the queue depth. This
means that it is safe to remove the memory registration backtracking
code. This patch has been tested with direct I/O sizes up to 256 MB.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h