scsi_dh_alua: Optimize the STPG behaviour in ALUA handler
Past few months, we have been working on scsi_dh_alua handler using TPGS on NetApp
E series storage. One of the issue we found during the testing was, driver sends
STPG(Set Target Port Group) command every time the path group switch happens.
This is not optimal. It is not required to send STPG exclusively for every path
Group switch. It is beneficial to let the target to initiate implicit transfer in
some cases. These set of patches takes care of this handling.
By default there is no change in the behavior. User level(multipath tools) has to
Set the flag to take effect of the new behavior. Code has been tested on
NetApp E series storage.
Thanks to Bob Stankey and Yanling Qi for their help.
Big thanks to Hannes Reinecke for his suggestion and also reviewing the code.
dm-devel mailing list