On 07/22/15 16:34, Jason Gunthorpe wrote:
The remaining users of ib_get_dma_mr are all unsafe:
> [ ... ]
drivers/infiniband/ulp/srp/ib_srp.c:
srp_dev->mr = ib_get_dma_mr(srp_dev->pd,
IB_ACCESS_LOCAL_WRITE |
IB_ACCESS_REMOTE_READ |
IB_ACCESS_REMOTE_WRITE);
Hello Jason,
This statement might need some clarification. Are you aware that this
memory region is only used if the kernel module parameter
register_always is zero ?
I will try to find some time to test the SRP changes in this series but
I'm not sure yet when I will be able to do that.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html