]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] scsi_dh: Use SCSI device handler in dm-multipath
authorChandra Seetharaman <sekharan@us.ibm.com>
Thu, 1 May 2008 21:50:11 +0000 (14:50 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 5 Jun 2008 14:23:41 +0000 (09:23 -0500)
commit83b3cc0334bba72f28c7e9ff632c10f5a17885dc
treeabceb01b7053f77366b37331e9b4f8408c89df60
parent449b3979d99cef1c1d920bd3914994d41e4878ec
[SCSI] scsi_dh: Use SCSI device handler in dm-multipath

This patch converts dm-mpath to use scsi device handlers instead of
dm's hardware handlers.

This patch does not add any new functionality. Old behaviors remain and
userspace tools work as is except that arguments supplied with hardware
handler are ignored.

One behavioral exception is: Activation of a path is synchronous in this
patch, opposed to the older behavior of being asynchronous (changed in
patch 07: scsi_dh: Add a single threaded workqueue for initializing a path)

Note: There is no need to get a reference for the device handler module
(as it was done in the dm hardware handler case) here as the reference
is held when the device was first found. Instead we check and make sure
that support for the specified device is present at table load time.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/md/Kconfig
drivers/md/dm-mpath.c