1
0
Fork 0
remarkable-linux/drivers/staging/lustre/lnet
Doug Oucharek 66eb994267 staging: lustre: o2iblnd: Fix FastReg map/unmap for MLX5
[ Upstream commit 24d4b7c8de ]

The FastReg support in ko2iblnd was not unmapping pool items
causing the items to leak.  In addition, the mapping code
is not growing the pool like we do with FMR.

This patch makes sure we are unmapping FastReg pool elements
when we are done with them.  It also makes sure the pool
will grow when we depleat the pool.

Signed-off-by: Doug Oucharek <doug.s.oucharek@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9472
Reviewed-on: https://review.whamcloud.com/27015
Reviewed-by: Andrew Perepechko <andrew.perepechko@seagate.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Doug Oucharek <dougso@me.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-03 07:50:37 +02:00
..
klnds staging: lustre: o2iblnd: Fix FastReg map/unmap for MLX5 2018-08-03 07:50:37 +02:00
libcfs staging: lustre: disable preempt while sampling processor id. 2018-04-12 12:32:17 +02:00
lnet License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
selftest staging: lustre: lnet: selftest: add include path to Makefile 2017-08-22 18:36:52 -07:00
Kconfig staging: lustre: ko2iblnd: Adapt to the removal of ib_get_dma_mr() 2017-03-06 09:16:59 +01:00
Makefile staging: lustre: move libcfs to lnet layer 2016-03-10 17:48:53 -08:00