diff options
author | Moger, Babu <Babu.Moger@netapp.com> | 2012-03-28 00:56:20 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-04-23 22:28:18 +0400 |
commit | 72d9e0f383c2b7a2e2fe4442577319bae0686f40 (patch) | |
tree | b2b189795687b7cfd179351d4e31e05c501ff817 /scripts | |
parent | dcd3a754b8c811441326d68574598fb3b4976ff4 (diff) | |
download | linux-72d9e0f383c2b7a2e2fe4442577319bae0686f40.tar.xz |
[SCSI] scsi_dh_alua: Optimize the STPG command
This patch optimizes the set target port group(STPG) command. During our
testing, we found that it is not optimal to send stpg command every time
the path group switch happens. This patch uses PREF (preferred target port)
bit with combination of flags passed by multipath user level tool to
optimize this behaviour. If PREF bit is set then it issues a STPG command,
otherwise it will let implicit transfer take place.
By default there is no change in the behaviour. User tool needs to pass the
parameter to make this change take effect. Patch has been tested on NetApp
E series storage.
Signed-off-by: Babu Moger <babu.moger@netapp.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions