Whamcloud - gitweb
LU-13600 ptlrpc: re-enterable signal_completed_replay() 40/39140/3
authorMikhail Pershin <mpershin@whamcloud.com>
Mon, 22 Jun 2020 18:04:34 +0000 (21:04 +0300)
committerPeter Jones <pjones@whamcloud.com>
Sun, 28 Jun 2020 14:43:06 +0000 (14:43 +0000)
commitdc654756af63bd30802ebd86074019d1533a4d8f
treed452de7d0dbda77ea95b0c7b45a47304781a1105
parent011d760069142a740754fcd783d51e1290d113a9
LU-13600 ptlrpc: re-enterable signal_completed_replay()

The signal_completed_replay() can meet race conditions while
checking imp_replay_inflight counter, so remove assertion and
check race conditions instead.

Fixes: 3b613a442b ("LU-13600 ptlrpc: limit rate of lock replays")
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: Ib7c372b1757556b7285f380b40167742f9b71ec6
lustre/ptlrpc/import.c