[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 us ibm com

Attachment: pgpfx3ONQVRkK.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]