[dm-devel] [PATCH] scsi_dh_rdac: Add dynamic match functionality to rdac handler

Chandra Seetharaman sekharan at us.ibm.com
Fri Apr 20 18:05:30 UTC 2012


On Fri, 2012-04-20 at 11:48 -0500, Mike Christie wrote:
> On 04/20/2012 11:27 AM, Chandra Seetharaman wrote:
> > Babu,
> > 
> > So, in effect, any SCSI devices with INQ C8 page with "edid" would be
> > treated as a rdac device, right ?
> > 
> > Is that enough to identify _any_ SCSI device as a rdac device (even in
> > future) ?
> > 
> > Also, instead of repeating the code, can you use submit_inquiry() ?
> > 
> 
> Yeah you are right, I think we should modify submit_inquiry to take in
> the sense and data buffers instead of taking in the rdac_dh_data struct.
> At the time the match function is run rdac_dh_data might not be allocated.

oh yeah,

I did not not realize that...
> 





More information about the dm-devel mailing list