Whamcloud - gitweb
LU-15112 ptlrpc: make rq_replied flag always correct
authorAlexander Zarochentsev <alexander.zarochentsev@hpe.com>
Wed, 15 Dec 2021 12:31:47 +0000 (15:31 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 7 Dec 2023 11:11:31 +0000 (11:11 +0000)
commitca93687047c63f2f3c751af6bca29cf3a92d7297
tree0ccba6b00720aa41d2f8bb9d5f6d01a5a0dd0db1
parentfa90434c14d6c3d3c471f3ff87edf16fdf9adbfb
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.

Lustre-change: https://review.whamcloud.com/45871
Lustre-commit: 94f3f1b511609fa190cee64c7e8244f21ef70792

HPE-bug-id: LUS-8752
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Change-Id: I0de996a4d775b8f1a1a6b27ff38d21645694f868
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53329
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ptlrpc/ptlrpc_internal.h