Whamcloud - gitweb
LU-17270 kfilnd: Check status of TAG_RX_OK in WAIT_COMP 27/53027/2
authorChris Horn <chris.horn@hpe.com>
Tue, 7 Nov 2023 17:36:29 +0000 (10:36 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Feb 2024 07:06:58 +0000 (07:06 +0000)
commit0fbaf7ba629861c8847e607cb62aea534f8f2b0b
treee092486f3eb6109eff4bc9046d6a64bb305a8e92
parent9e0bf3cc5b92c73229b68125b39451b211a57a1f
LU-17270 kfilnd: Check status of TAG_RX_OK in WAIT_COMP

When the target of a bulk Get/Put drops the message it sends
ENODATA back to the initiator via immediate data. This status needs to
be accounted for while the transaction is in the TN_STATE_WAIT_COMP
state, otherwise it can be lost if the TN_EVENT_TAG_RX_OK event
arrives before the TN_EVENT_TX_OK event.

HPE-bug-id: LUS-11971
Test-Parameters: trivial
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I52d6ea52746cbc14a86478fcccb32b25badd3b0a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53027
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Ron Gredvig <ron.gredvig@hpe.com>
Reviewed-by: Ian Ziemba <ian.ziemba@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/kfilnd/kfilnd_tn.c