Whamcloud - gitweb
LU-16989 kfilnd: Handle TX_FAIL in WAIT_SEND_COMP 81/51781/3
authorChris Horn <chris.horn@hpe.com>
Mon, 12 Dec 2022 23:28:54 +0000 (16:28 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 22 Aug 2023 06:40:53 +0000 (06:40 +0000)
commitcf2f7945dbc2bc5b540e98ee5a3e3e6b213ad74e
tree5fc1763a362f2c1c132cc9b96f395f100e9186a9
parent673ff86a84ad5d11cde24aa7411c45385ad1c633
LU-16989 kfilnd: Handle TX_FAIL in WAIT_SEND_COMP

It is possible for us to get a TN_EVENT_TX_FAIL while transaction is
in TN_STATE_WAIT_SEND_COMP state. We should gracefully handle this
situation rather than LBUG.

Test-Parameters: trivial
HPE-bug-id: LUS-11344
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Ib6fc5ed41f12762843fe9f638ffd523699936556
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51781
Tested-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/kfilnd/kfilnd.h
lnet/klnds/kfilnd/kfilnd_ep.c
lnet/klnds/kfilnd/kfilnd_ep.h
lnet/klnds/kfilnd/kfilnd_tn.c
lustre/tests/sanity-lnet.sh