[dm-devel] Re: [PATCH 5/7] scsi-hw-handler: convert dm-mpath to scsi hw handlers

Mike Christie michaelc at cs.wisc.edu
Sat Jun 9 19:39:41 UTC 2007


Mike Christie wrote:
> michaelc at cs.wisc.edu wrote:
>> From: Mike Christie <michaelc at cs.wisc.edu>
>>
>> This patch converts dm-mpath to scsi hw handlers. It does
>> not add any new functionality and old behaviors and userspace
>> tools should be supported except we use the safe clariion
>> default instead of using the userspace setting.
>>
>> This is just the dm-mpath parts which are necessary to use
>> REQ_TYPE_LINUX_BLOCK and REQ_LB_OP_TRANSITION. In later mails
>> I will send patches which remove old code and add more
>> functionality.
>> Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
> 
> Alasdair, I took out all the new functionality. This patch is just the
> basic conversion. I can try to break it down even more if and do a patch
> for every hw handler callout that gets removed (all the callouts end up
> getting removed), but that may not buy much since the bulk of the patch
> is the REQ_TYPE_LINUX_BLOCK code.
> 

Just in case, I broke the patch in this mail down here
http://www.cs.wisc.edu/~michaelc/block/dm/mpath/

It basically breaks it up into removing the creation/destruction
callbacks. Then adds the new pg init code. And finally removes the old
pg_init code. Each patch is not compilable by itself so it is not
git-revertable, but maybe it will be easier for you to read.




More information about the dm-devel mailing list