1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Avoid rebuilding of uuid validation table

Small CPU relax...
This commit is contained in:
Zdenek Kabelac 2011-01-28 10:14:08 +00:00
parent 0db2d39105
commit 342e9fee4a
2 changed files with 2 additions and 0 deletions

View File

@ -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".

View File

@ -125,6 +125,7 @@ static void _build_inverse(void)
if (_built_inverse)
return;
_built_inverse = 1;
memset(_inverse_c, 0, sizeof(_inverse_c));
for (ptr = _c; *ptr; ptr++)