xprtrdma: Add "init MRs" memreg op
authorChuck Lever <[email protected]>
Mon, 30 Mar 2015 18:34:58 +0000 (14:34 -0400)
committerAnna Schumaker <[email protected]>
Tue, 31 Mar 2015 13:52:52 +0000 (09:52 -0400)
commit91e70e70e47b3355bb0a8b3b196c93897dcdb440
tree64cc0c734337a26487fb1960bd9e950a1d8afc19
parent6814baead86b5d44096ddfbb6f944163578e68c3
xprtrdma: Add "init MRs" memreg op

This method is used when setting up a new transport instance to
create a pool of Memory Region objects that will be used to register
memory during operation.

Memory Regions are not needed for "physical" registration, since
->prepare and ->release are no-ops for that mode.

Signed-off-by: Chuck Lever <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Tested-by: Devesh Sharma <[email protected]>
Tested-by: Meghana Cheripady <[email protected]>
Tested-by: Veeresh U. Kokatnur <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
net/sunrpc/xprtrdma/fmr_ops.c
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/physical_ops.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h