WSL2-Linux-Kernel/drivers/scsi
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
..
aacraid
aic7xxx
aic7xxx_old
aic94xx
arcmsr [SCSI] remove flush_scheduled_work() usages 2011-02-12 10:31:02 -06:00
arm
be2iscsi
bfa
bnx2i [SCSI] bnx2i: Added reconnect fix connecting against Lefthand targets 2011-01-24 11:40:30 -06:00
cxgbi [SCSI] cxgb3i: fixed connection problem with iscsi private ip 2011-01-24 11:45:17 -06:00
device_handler [SCSI] scsi_dh_rdac: fix for lun_table update for rdac device handler 2011-02-12 14:05:08 -06:00
dpt
fcoe [SCSI] libfcoe: Move common code from fcoe to libfcoe module 2011-02-12 11:18:18 -06:00
fnic [SCSI] fnic: Bumping up fnic version from 1.4.0.145 to 1.5.0.1. 2011-02-12 10:59:26 -06:00
ibmvscsi
libfc [SCSI] libfc: introduce LLD event callback 2011-02-12 11:09:04 -06:00
libsas [SCSI] libsas: remove spurious sata control register read/write 2011-01-24 12:05:45 -06:00
lpfc
megaraid [SCSI] megaraid_sas: Sanity check user supplied length before passing it to dma_alloc_coherent() 2011-02-12 10:31:03 -06:00
mpt2sas [SCSI] remove flush_scheduled_work() usages 2011-02-12 10:31:02 -06:00
mvsas
osd [SCSI] libosd: osd_req_read_sg, optimize the single entry case 2011-01-24 12:06:31 -06:00
pcmcia
pm8001 [SCSI] pm8001: simplify workqueue usage 2011-02-12 10:31:03 -06:00
qla2xxx
qla4xxx
sym53c8xx_2
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c
3w-xxxx.h
53c700.c
53c700.h
53c700.scr
53c700_d.h_shipped
BusLogic.c
BusLogic.h
FlashPoint.c
Kconfig
Makefile
NCR53c406a.c
NCR5380.c [SCSI] remove flush_scheduled_work() usages 2011-02-12 10:31:02 -06:00
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
a4000t.c
advansys.c
aha152x.c
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
aic7xxx_old.c
atari_NCR5380.c
atari_scsi.c
atari_scsi.h
atp870u.c
atp870u.h
bvme6000_scsi.c
ch.c
constants.c
dc395x.c
dc395x.h
dmx3191d.c
dpt_i2o.c
dpti.h
dtc.c
dtc.h
eata.c
eata_generic.h
eata_pio.c
eata_pio.h
esp_scsi.c
esp_scsi.h
fd_mcs.c
fdomain.c
fdomain.h
g_NCR5380.c
g_NCR5380.h
g_NCR5380_mmio.c
gdth.c
gdth.h
gdth_ioctl.h
gdth_proc.c
gdth_proc.h
gvp11.c
gvp11.h
hosts.c
hpsa.c [SCSI] hpsa: avoid leaking stack contents to userland 2011-01-24 11:34:05 -06:00
hpsa.h [SCSI] hpsa: fix board status waiting code 2011-01-24 11:29:32 -06:00
hpsa_cmd.h [SCSI] hpsa: fixup DMA address before freeing. 2011-01-24 11:29:05 -06:00
hptiop.c
hptiop.h
ibmmca.c
imm.c
imm.h
in2000.c
in2000.h
initio.c
initio.h
ipr.c [SCSI] remove flush_scheduled_work() usages 2011-02-12 10:31:02 -06:00
ipr.h
ips.c
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c
iscsi_tcp.h
jazz_esp.c
lasi700.c
libiscsi.c
libiscsi_tcp.c
libsrp.c
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c
mac_scsi.h
megaraid.c
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
ncr53c8xx.c
ncr53c8xx.h
nsp32.c
nsp32.h
nsp32_debug.c
nsp32_io.h
osst.c
osst.h
osst_detect.h
osst_options.h
pas16.c
pas16.h
pmcraid.c [SCSI] remove flush_scheduled_work() usages 2011-02-12 10:31:02 -06:00
pmcraid.h
ppa.c
ppa.h
ps3rom.c
qla1280.c
qla1280.h
qlogicfas.c
qlogicfas408.c
qlogicfas408.h
qlogicpti.c
qlogicpti.h
raid_class.c
script_asm.pl
scsi.c
scsi.h
scsi_debug.c
scsi_devinfo.c [SCSI] Add scsi_dev_info_list_del_keyed() 2011-01-24 12:01:07 -06:00
scsi_error.c [SCSI] Add detailed SCSI I/O errors 2011-02-12 10:33:08 -06:00
scsi_ioctl.c
scsi_lib.c [SCSI] Add detailed SCSI I/O errors 2011-02-12 10:33:08 -06:00
scsi_lib_dma.c
scsi_logging.h
scsi_module.c
scsi_netlink.c
scsi_pm.c
scsi_priv.h [SCSI] scsi_dh: Use scsi_devinfo functions to do matching of device_handler tables. 2011-01-24 12:02:09 -06:00
scsi_proc.c
scsi_sas_internal.h
scsi_scan.c
scsi_sysctl.c
scsi_sysfs.c
scsi_tgt_if.c
scsi_tgt_lib.c
scsi_tgt_priv.h
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c
scsi_transport_fc_internal.h
scsi_transport_iscsi.c
scsi_transport_sas.c
scsi_transport_spi.c
scsi_transport_srp.c
scsi_transport_srp_internal.h
scsi_typedefs.h
scsi_wait_scan.c
scsicam.c
sd.c [SCSI] sd,sr: kill compat SDEV_MEDIA_CHANGE event 2011-01-14 09:17:35 -06:00
sd.h [SCSI] sd: implement sd_check_events() 2011-01-14 09:17:34 -06:00
sd_dif.c
ses.c
sg.c
sgiwd93.c
sim710.c
sni_53c710.c
sr.c [SCSI] sd,sr: kill compat SDEV_MEDIA_CHANGE event 2011-01-14 09:17:35 -06:00
sr.h
sr_ioctl.c
sr_vendor.c
st.c
st.h
st_options.h
stex.c
sun3_NCR5380.c
sun3_scsi.c
sun3_scsi.h
sun3_scsi_vme.c
sun3x_esp.c
sun_esp.c
sym53c416.c
sym53c416.h
t128.c
t128.h
tmscsim.c
tmscsim.h
u14-34f.c
ultrastor.c
ultrastor.h
vmw_pvscsi.c
vmw_pvscsi.h
wd33c93.c
wd33c93.h
wd7000.c
zalon.c
zorro7xx.c