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

Mike Christie michaelc at cs.wisc.edu
Fri Apr 20 16:48:17 UTC 2012


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.




More information about the dm-devel mailing list