Re: [PATCH] staging: lustre: o2iblnd: Fix FastReg map/unmap for MLX5

From: Greg Kroah-Hartman
Date: Mon Mar 19 2018 - 12:16:43 EST


On Wed, Mar 14, 2018 at 11:18:30PM -0700, Doug Oucharek wrote:
> 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@xxxxxxxxx>
> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9472
> Reviewed-on: https://review.whamcloud.com/27015
> Reviewed-by: Andrew Perepechko <andrew.perepechko@xxxxxxxxxxx>
> Reviewed-by: Dmitry Eremin <dmitry.eremin@xxxxxxxxx>
> Reviewed-by: James Simmons <uja.ornl@xxxxxxxxx>
> Reviewed-by: Oleg Drokin <oleg.drokin@xxxxxxxxx>
> Signed-off-by: Doug Oucharek <dougso@xxxxxx>
> ---
> drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c | 2 +-
> drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 12 ++++--------
> 2 files changed, 5 insertions(+), 9 deletions(-)

Also does not apply :(

Please rebase and resend.

thanks,

greg k-h