[SCSI] scsi_dh_alua: Inroduce the set_params interface scsi_dh_alua handler
authorMoger, Babu <Babu.Moger@netapp.com>
Tue, 27 Mar 2012 20:55:49 +0000 (20:55 +0000)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 23 Apr 2012 18:28:07 +0000 (19:28 +0100)
commit4335d092a1f28e17c5bafa6170bbf9599ca29c6a
treeb72bf29f5c241ef53a342dd9c926edd0b1b3074a
parent8643b32f275466f0b706e829150b7db49c11419c
[SCSI] scsi_dh_alua: Inroduce the set_params interface scsi_dh_alua handler

Handler expects only one parameter to set the flag ALUA_OPTIMIZE_STPG.
This flag is used to optimize the STPG behaviour. There is no change in
behaviour by default.

For example, to set the flag pass the following parameters from multipath.conf
hardware_handler        "2 alua 1"

Signed-off-by: Babu Moger <babu.moger@netapp.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/device_handler/scsi_dh_alua.c