staging/lustre/lnet: NI shutdown may loop forever
authorLiang Zhen <liang.zhen@intel.com>
Sun, 27 Apr 2014 17:06:56 +0000 (13:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Apr 2014 17:27:12 +0000 (10:27 -0700)
commit526cdb4f3e2ed9c42bb1d866069c4dfe42f4a03d
treeaff3365e771bb212dad83594347998e2b6f803e5
parent16e9f6d48bf6400ca3541a20aee5ec7bb414e1e4
staging/lustre/lnet: NI shutdown may loop forever

lnet_shutdown_lndnis() may enter endless loop if there is a busy NI,
this is injected by LNet SMP improvements. It's fixed in this patch.

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Reviewed-on: http://review.whamcloud.com/9706
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4780
Reviewed-by: Isaac Huang <he.huang@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/api-ni.c