[linux-lvm] [PATCH LVM2] Fix _for_each_pv() to return correct segment end

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Tue Aug 29 17:12:21 UTC 2006


Hi,

_for_each_pv() is a function to walk through all PVs used by
given part of LV. The function is expected to set smallest length
of PV segment consists of the part of LV.
However, current code doesn't work as expected.

As a result, build_parallel_areas_from_lv() considers only the
first segment of the LV and fails to build appropriate list of
PVs to be avoided.

Attached patch fixes this problem.
Applicable to 2.02.09.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-fix-for_each_pv-to-return-correct-segment-end.patch
Type: text/x-patch
Size: 869 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060829/ea580047/attachment.bin>


More information about the linux-lvm mailing list