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@xxxxxxxxxx>
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@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxx +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@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel