Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Device-mapper Development (http://www.linux-archive.org/device-mapper-development/)
-   -   scsi_dh_rdac: Adding the match function for rdac device handler (http://www.linux-archive.org/device-mapper-development/594496-scsi_dh_rdac-adding-match-function-rdac-device-handler.html)

Hannes Reinecke 11-04-2011 06:34 AM

scsi_dh_rdac: Adding the match function for rdac device handler
 
On 11/03/2011 04:51 PM, Moger, Babu wrote:

This patch introduces the match function for rdac device handler. Without this,
sometimes handler attach fails during the device_add. Included check for TPGS
bit before proceeding further. The match function was introduced by this patch
http://www.spinics.net/lists/linux-scsi/msg54284.html

Signed-off-by: Babu Moger<babu.moger@netapp.com>


As the real patch of checking VPD pages is a bit more involved (eg
we're taking the lock during ->match(), so invoking any I/O from
here will get tricky), it's a sensible interim solution.


Acked-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


All times are GMT. The time now is 08:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.