Whamcloud - gitweb
LU-15186 o2iblnd: Default map_on_demand to 1 31/45431/3
authorChris Horn <chris.horn@hpe.com>
Mon, 1 Nov 2021 20:06:31 +0000 (15:06 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Nov 2021 03:52:24 +0000 (03:52 +0000)
commit21fdd616bd4784e4e3571294ba39f00b24a25806
tree6217c6b99a1abc5e476fe03ddc3a72bda0e3ad85
parent44a359caae004bbdae68f12cf69769fd4c1ecf7c
LU-15186 o2iblnd: Default map_on_demand to 1

On kernels that provide global MR we default to using that exclusively
even if FMR/FastReg is available. This causes an interop issue if the
active side of a connection request has a higher fragment count than
the passive side  because FMR/FastReg may be needed to map the higher
fragment count. We should change the default map_on_demand to 1 so
that FMR/FastReg is used by default. map_on)demand can still be set
to 0 if needed.

Test-Parameters: trivial
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I76010a905f151efbb0b109ae6f5fba6fb7ce1956
Reviewed-on: https://review.whamcloud.com/45431
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_modparams.c