]> err.no Git - linux-2.6/commit
[SCSI] scsi_dh: attach to hardware handler from dm-mpath
authorHannes Reinecke <hare@suse.de>
Fri, 18 Jul 2008 00:49:02 +0000 (17:49 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 26 Jul 2008 19:14:53 +0000 (15:14 -0400)
commitae11b1b36da726a8a93409b896704edc6b4f3402
tree737e3602cb426c87f64ad26ccbfc12ce707d7b9e
parent057ea7c9683c3d684128cced796f03c179ecf1c2
[SCSI] scsi_dh: attach to hardware handler from dm-mpath

multipath keeps a separate device table which may be
more current than the built-in one.
So we should make sure to always call ->attach whenever
a multipath map with hardware handler is instantiated.
And we should call ->detach on removal, too.

[sekharan: update as per comments from agk]
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/md/dm-mpath.c
drivers/scsi/device_handler/scsi_dh.c
include/scsi/scsi_dh.h