[lvm-devel] [PATCH LVM2] (7/12) update parallel_areas for on-going allocation

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Fri Oct 13 21:00:48 UTC 2006


This patch adds _update_parallel_areas() to update parallel_areas list
based on the current allocation.

o For some cases (e.g. lvcreate), ah->parallel_areas weren't initialized.
  So now, _alloc_init() initialize it if there is none.
  build_parallel_areas() is allowed to return empty list.

o _update_parallel_areas() and other sub functions are added.
  It takes the range and PV then reflects them into existing parallel_areas.


$ diffstat -p1 07.update_parallel.patch
 lib/metadata/lv_manip.c |  150 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 150 insertions(+)


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07.update_parallel.patch
Type: text/x-patch
Size: 4901 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20061013/9561e3ed/attachment.bin>


More information about the lvm-devel mailing list