commit | 9ac07501e1918b8d1140adcc360e8d8c7f5a2f7c | [log] [tgz] |
---|---|---|
author | Steve Wise <swise@opengridcomputing.com> | Fri Aug 07 11:11:20 2015 -0500 |
committer | Doug Ledford <dledford@redhat.com> | Sun Aug 30 18:08:46 2015 -0400 |
tree | 98de70b2b6d2a8325fa55cc46a69a1609ebad77f | |
parent | 0410e38eca85e042f5d5a281dbcc792db701ed44 [diff] |
svcrdma: limit FRMR page list lengths to device max Svcrdma was incorrectly allocating fastreg MRs and page lists using RPCSVC_MAXPAGES, which can exceed the device capabilities. So limit the depth to the minimum of RPCSVC_MAXPAGES and xprt->sc_frmr_pg_list_len. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>