[dm-devel] [PATCH] Fixes for clone_bio and __clone_and_map functions in dm.c

Dan Smith danms at us.ibm.com
Sun Mar 19 18:38:37 UTC 2006


AG> I encountered another problem in the final else condition of
AG> __clone_and_map() function where the bio vector is split in to two
AG> parts. This is perhaps based on the assumption that the next
AG> target can completely accomodate the bio vector. However, I have
AG> encountered situations when this assumption can be violated and
AG> have introduced a do-while loop to correct it.

I found this bug last week as it was preventing me from having targets
that have a split_io of 1 sector.  Interestingly, I had planned to
code up a solution very similar to yours next week!

I'll test it tomorrow to see if it solves my problem... Thanks! :)

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20060319/04e436ed/attachment.sig>


More information about the dm-devel mailing list