alistair23-linux/drivers/scsi/device_handler
Moger, Babu 04b6e153b6 [SCSI] scsi_dh_rdac: fix for lun_table update for rdac device handler
During one of our testing, we noticed that mode select command sent
from the host did not have the lun_table updated.

Problem is root caused to the way lun table is updated. Lun table
update was done after the call to blk_rq_map_kern is made. This was
causing problem because kernel uses bounce buffer(bio_copy_kern) if
the address is not aligned.  The command buffer updated after the
call(blk_rq_map_kern) was not going on the wire. Moved the code to
update the lun_table before the call to fix the problem.

Signed-off-by: Babu Moger <babu.moger@lsi.com>
Signed-off-by: Somasundaram Krishnasamy <Somasundaram.Krishnasamy@lsi.com>
Signed-off-by: Yanling Qi <Yanling.Qi@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-02-12 14:05:08 -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: Use scsi_devinfo functions to do matching of device_handler tables. 2011-01-24 12:02:09 -06:00
scsi_dh_alua.c [SCSI] scsi_dh_alua: add scalable ONTAP lun to dev list 2011-01-24 11:13:48 -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 [SCSI] scsi_dh_hp_sw: fix deadlock in start_stop_endio 2011-02-12 10:31:04 -06:00
scsi_dh_rdac.c [SCSI] scsi_dh_rdac: fix for lun_table update for rdac device handler 2011-02-12 14:05:08 -06:00