Whamcloud - gitweb
LU-5717 ptlrpc: fix deadlock problem of nrs_tbf_timer_cb 28/12228/5
authorLi Xi <lixi@ddn.com>
Wed, 8 Oct 2014 12:11:37 +0000 (20:11 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 9 Jan 2016 00:05:31 +0000 (00:05 +0000)
commitf32919289d43dc9df37b93cf6fea483116fac5cb
tree79940296b1faa81aca46296ceb8098b204525b96
parent53737bf2055cddabf53140dce08d0e1009aab483
LU-5717 ptlrpc: fix deadlock problem of nrs_tbf_timer_cb

When callback of TBF timer is triggered, nrs_lock could be
held by the current CPU which will cause dead lock. This
patch removes unnecessary nrs_lock to fix this problem.

Signed-off-by: Li Xi <lixi@ddn.com>
Change-Id: I6329e3e71da30a415dbb35b37d79ade118917c6a
Reviewed-on: http://review.whamcloud.com/12228
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
lustre/ptlrpc/nrs_tbf.c