android_kernel_xiaomi_sm8350/drivers/scsi/device_handler
Chandra Seetharaman 6c10db72c9 [SCSI] scsi_dh: Reference count scsi_dh_attach
Problem reported: http://marc.info/?l=dm-devel&m=124585978305866&w=2

scsi_dh does not do a refernce count for attach/detach, and this affects
the way it is supposed to work with multipath when a device is not
in the dev_list of the hardware handler.

This patch adds a reference count that counts each attach.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-08-22 17:51:51 -05:00
..
Kconfig
Makefile
scsi_dh_alua.c
scsi_dh_emc.c
scsi_dh_hp_sw.c
scsi_dh_rdac.c
scsi_dh.c [SCSI] scsi_dh: Reference count scsi_dh_attach 2009-08-22 17:51:51 -05:00