Message ID | 1655560330-30743-25-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | lustre: sync to OpenSFS June 15, 2022 | expand |
diff --git a/net/lnet/klnds/o2iblnd/o2iblnd_modparams.c b/net/lnet/klnds/o2iblnd/o2iblnd_modparams.c index 022ed02..04286e1 100644 --- a/net/lnet/klnds/o2iblnd/o2iblnd_modparams.c +++ b/net/lnet/klnds/o2iblnd/o2iblnd_modparams.c @@ -261,6 +261,9 @@ int kiblnd_tunables_setup(struct lnet_ni *ni) net_tunables->lct_peer_tx_credits = net_tunables->lct_max_tx_credits; + if (tunables->lnd_map_on_demand == UINT_MAX) + tunables->lnd_map_on_demand = map_on_demand; + /* * For kernels which do not support global memory regions, always * enable map_on_demand