Re: [PATCH v5 12/26] xprtrdma: Port to new memory registration API

2015-10-13 Thread Chuck Lever
> On Oct 13, 2015, at 12:11 PM, Sagi Grimberg wrote: > > Instead of maintaining a fastreg page list, keep an sg table > and convert an array of pages to a sg list. Then call ib_map_mr_sg > and construct ib_reg_wr. > > Signed-off-by: Sagi Grimberg > Acked-by: Christoph Hellwig > Tested-by: Ste

[PATCH v5 12/26] xprtrdma: Port to new memory registration API

2015-10-13 Thread Sagi Grimberg
Instead of maintaining a fastreg page list, keep an sg table and convert an array of pages to a sg list. Then call ib_map_mr_sg and construct ib_reg_wr. Signed-off-by: Sagi Grimberg Acked-by: Christoph Hellwig Tested-by: Steve Wise Tested-by: Selvin Xavier --- net/sunrpc/xprtrdma/frwr_ops.c