[lvm-devel] [PATCH LVM2] (3/12) remove ix_offset from _find_parallel_space()

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Fri Oct 13 20:57:42 UTC 2006


This patch removes ix_offset and related variables.

o Current code splits areas[] array in 2 parts.
  The first part is for contiguous areas and the 2nd part is for
  sorted-by-length areas.
  However, these 2 use are exclusive.
  If you are trying contiguous allocation, the 2nd part isn't used.
  Vice versa.


$ diffstat -p1 03.remove_ix_offset.patch
 lib/metadata/lv_manip.c |   66 ++++++++++++++++++++-------------------------
 1 file changed, 28 insertions(+), 38 deletions(-)


-- 
Jun'ichi Nomura, NEC Corporation of America

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03.remove_ix_offset.patch
Type: text/x-patch
Size: 4248 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20061013/c74a859b/attachment.bin>


More information about the lvm-devel mailing list