Skip to contentSkip to conversation

LVM2 ./WHATS_NEW lib/uuid/uuid.c

PATCH [email protected] 1 participant 1 message Jan 28, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-01-28 10:14:09

Modified files:
. : WHATS_NEW
lib/uuid : uuid.c

Log message:
Avoid rebuilding of uuid validation table

Small CPU relax...

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1893&r2=1.1894
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/uuid/uuid.c.diff?cvsroot=lvm2&r1=1.31&r2=1.32

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.83 - 
 ===================================
+  Avoid rebuilding of uuid validation table.
   Always use O_DIRECT when opening block devices to check for partitioning.
   Improve lvcreate "insufficient extents" errors to "insufficient free space".
 
lib/uuid/uuid.c +1 -0
@@ -125,6 +125,7 @@
 	if (_built_inverse)
 		return;
 
+	_built_inverse = 1;
 	memset(_inverse_c, 0, sizeof(_inverse_c));
 
 	for (ptr = _c; *ptr; ptr++)