K 10 svn:author V 3 mav K 8 svn:date V 27 2022-06-28T18:16:51.203547Z K 7 svn:log V 551 CTL: Fix double command completions on HA failover. I've found couple cases when CTL_FLAG_SENT_2OTHER_SC flags were not cleared on commands return from active node or the send failure. It created races when ctl_failover_lun() call before ctl_process_done() could cause second ctl_done() and ctl_process_done() calls, causing all sorts of problems. MFC after: 2 weeks Sponsored by: iXsystems, Inc. (cherry picked from commit 3b0e3e8d2a6fab953a0ce537b6131330ccf36170) Git Hash: 5dc091a1b2a1ba4eb3f5d54acd41f0fb326dc080 Git Author: mav@FreeBSD.org END