Whamcloud - gitweb
LU-11152 lnd: test fpo_fmr_poool pointer instead of special bool 08/33408/4
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 23 Oct 2018 03:39:46 +0000 (23:39 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 Nov 2018 07:18:51 +0000 (07:18 +0000)
commit9b790ba0f5606c0a91563828fa43f5e4ae210425
treee669041d2bc6d9584173215fa5fa7de74d8deaa6
parent0a3da14dab556676b6ab903a385c0750eb99dcb7
LU-11152 lnd: test fpo_fmr_poool pointer instead of special bool

For the ko2iblnd driver it sets a fpo_is_fmr bool to tell use if
a pool was allocated. The name fpo_is_fmr is very misleading to
its function and its a weak test to tell us if a pool was allocated
in the FMR case. It is much easier to test the actually FMR pool
pointer then manually setting a bool flag to tell us if the FMR
pool is valide.

Test-Parameters: trivial
Change-Id: Ib5fa14f4a9d2b89efe5f453e0f243699894f3aeb
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/33408
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h