alistair23-linux/drivers/scsi/device_handler
Joseph Gruher 7c66e9a5e6 [SCSI] scsi_dh_alua: fix submit_stpg return
submit_stpg() will always return failure so alua_activate() will report
failure via dm-multipath callback function.  Even though the stpg fired
successfuly dm-multipath does not know and always fails to change the
valid path.

By returning SCSI_DH_OK we're now skipping alua_activate()'s call to
activate_complete 'fn'.  But this is fine because stpg_endio() will call
it via h->callback_fn().

Signed-off-by: Joseph Gruher <joseph.r.gruher@intel.com>
Signed-off-by: Ilgu Hong <ilgu.hong@promise.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-01-24 11:11:58 -06:00
..
Kconfig [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
Makefile [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
scsi_dh.c [SCSI] scsi_dh: propagate SCSI device deletion 2010-12-21 12:37:27 -06:00
scsi_dh_alua.c [SCSI] scsi_dh_alua: fix submit_stpg return 2011-01-24 11:11:58 -06:00
scsi_dh_emc.c [SCSI] scsi_dh_emc: request flag cleanup 2010-04-11 14:04:02 -05:00
scsi_dh_hp_sw.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
scsi_dh_rdac.c [SCSI] scsi_dh_rdac: Add two new SUN devices to rdac_dev_list 2010-10-25 16:13:24 -05:00