[dm-devel] [RESEND][PATCH 3/4] scsi_dh_rdac: Adding the match function for rdac device handler

Hannes Reinecke hare at suse.de
Fri Nov 4 07:34:46 UTC 2011


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 at 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 at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare at 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)




More information about the dm-devel mailing list