This issue occurs if the Path Selection policy (PSP) is configured to use the active non-optimized (ANO) path to issue I/O.
When Round Robin path selection policy (PSP_RR) is used with ALUA SATP, the default PSP_RR setting is to use only active-optimized paths if they are available.
You can override this setting with a command to include ANO paths using commands below :
esxcli storage nmp psp roundrobin deviceconfig set --useano=1 -d <naa of the device>
Some ALUA arrays automatically initiate a LUN failover (trespass) when enough I/O is directed to a non-optimized path. This happens so I/O is internally re-directed to an active optimized path.
Configuring PSP_RR to use ANO paths for such arrays may result in path thrashing and poor I/O performance.
You experience this issue if the array is configured with fixed path policy and the preferred path is non-optimized.