Skip to contentSkip to conversation

LVM2 ./WHATS_NEW lib/format_text/import_vsn1.c

PATCH [email protected] 1 participant 1 message Mar 31, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2010-03-31 17:20:03

Modified files:
. : WHATS_NEW
lib/format_text: import_vsn1.c

Log message:
Use hash table for quick lv reference when reading metadata.

The _read_vg uses already hash for PVs to optimise reading of large VGs and avoiding repeated PV list traversing.

Use the same aproach to speed up parsing VG with many LVs.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1492&r2=1.1493
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/import_vsn1.c.diff?cvsroot=lvm2&r1=1.69&r2=1.70

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.63 -  
 ================================
+  Use hash table of LVs to speed up parsing of text metadata with many LVs.
   Fix two messages, add a whitespace and parentheses
   When dmeventd is not forking because of -d flag, don't kill the parent process
   Fix 'make install' when $(builddir) is different from $(srcdir).
lib/format_text/import_vsn1.c +32 -12

138 lines not on this page · raw message