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

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

 



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@xxxxxxxxxx

Attachment: pgpc6YfIELcRJ.pgp
Description: PGP signature

--

dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux