mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Avoid rebuilding of uuid validation table
Small CPU relax...
This commit is contained in:
parent
0db2d39105
commit
342e9fee4a
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.83 -
|
Version 2.02.83 -
|
||||||
===================================
|
===================================
|
||||||
|
Avoid rebuilding of uuid validation table.
|
||||||
Always use O_DIRECT when opening block devices to check for partitioning.
|
Always use O_DIRECT when opening block devices to check for partitioning.
|
||||||
Improve lvcreate "insufficient extents" errors to "insufficient free space".
|
Improve lvcreate "insufficient extents" errors to "insufficient free space".
|
||||||
|
|
||||||
|
@ -125,6 +125,7 @@ static void _build_inverse(void)
|
|||||||
if (_built_inverse)
|
if (_built_inverse)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
_built_inverse = 1;
|
||||||
memset(_inverse_c, 0, sizeof(_inverse_c));
|
memset(_inverse_c, 0, sizeof(_inverse_c));
|
||||||
|
|
||||||
for (ptr = _c; *ptr; ptr++)
|
for (ptr = _c; *ptr; ptr++)
|
||||||
|
Loading…
Reference in New Issue
Block a user