Whamcloud - gitweb
LU-15112 ptlrpc: make rq_replied flag always correct 71/45871/3
authorAlexander Zarochentsev <alexander.zarochentsev@hpe.com>
Wed, 15 Dec 2021 12:31:47 +0000 (15:31 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Jan 2022 21:59:55 +0000 (21:59 +0000)
commit94f3f1b511609fa190cee64c7e8244f21ef70792
treeaa380cf1f5e8cc23772a63930e85beafaa13b399
parent1937c6cd75a2346b353f4cb6aacda8d0b6df804d
LU-15112 ptlrpc: make rq_replied flag always correct

rq_replied flag is cleared at ptl_rpc_send() only,
so state of the flag may be incorrect for rpcs which
are timed out but have have been never sent.

HPE-bug-id: LUS-8752
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Change-Id: I0de996a4d775b8f1a1a6b27ff38d21645694f868
Reviewed-on: https://review.whamcloud.com/45871
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/ptlrpc_internal.h