[lvm-devel] [LVM2 PATCH] (2/5) Fix mirror-log-only allocation failure

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Mon Jan 8 17:11:37 UTC 2007


If the log-only allocation failed on the first policy,
it doesn't try the next available policy but just quit the loop and fail
because in that case both "allocated" and "new_extents" are same.
It's not correct. It should try the next policy if it's available.

The function allocating_log() is introduced to separate the logic
to determine if the log allocation is still needed.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-fix-mirror-log-only-allocation-failure.patch
Type: text/x-patch
Size: 1284 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20070108/6f7e0360/attachment.bin>


More information about the lvm-devel mailing list