A race between unregister_reply & early reply.
When buffers are busy for the early transfer, they cannon be unlinked
by unregister_reply, so the RPC gets into UNREGISTERING state. The
coming reply_in_callback for the early RPC already has unlinked flag
set due to previous mdunlink attempt, but we handle it properly only
for UNILNK event, whereas this is PUT in this case.
Signed-off-by: Vitaly Fertman <email@example.com>
Reviewed-by: Alexey Leonidovich Lyashkov <firstname.lastname@example.org>
Reviewed-by: Andriy Skulysh <email@example.com>
Tested-by: Parinay Vijayprakash Kondekar <firstname.lastname@example.org>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7434Reviewed-by: Chris Horn <email@example.com>
Reviewed-by: Andreas Dilger <firstname.lastname@example.org>
Signed-off-by: Oleg Drokin <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>