diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-03-30 20:34:12 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-03-31 15:52:52 +0200 |
commit | 41f97028969e4c88efa5fcf58bc6125210413a6d (patch) | |
tree | 5cd5eb15b2696ed3cd134fb71d63393b65a8dcbf /drivers | |
parent | xprtrdma: Byte-align FRWR registration (diff) | |
download | linux-41f97028969e4c88efa5fcf58bc6125210413a6d.tar.xz linux-41f97028969e4c88efa5fcf58bc6125210413a6d.zip |
xprtrdma: Prevent infinite loop in rpcrdma_ep_create()
If a provider advertizes a zero max_fast_reg_page_list_len, FRWR
depth detection loops forever. Instead of just failing the mount,
try other memory registration modes.
Fixes: 0fc6c4e7bb28 ("xprtrdma: mind the device's max fast . . .")
Reported-by: Devesh Sharma <Devesh.Sharma@Emulex.Com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Devesh Sharma <Devesh.Sharma@Emulex.Com>
Tested-by: Meghana Cheripady <Meghana.Cheripady@Emulex.Com>
Tested-by: Veeresh U. Kokatnur <veereshuk@chelsio.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions