[lvm-devel] [PATCH 0/4] VG Validation updates

Zdenek Kabelac zkabelac at redhat.com
Wed Mar 9 12:18:31 UTC 2011


This patchset should address some algorithmic problems
which will become noticable with thousans of LVs.

Using hash tables.
Simplify postorder for all LVs in VG.
Skip some duplicate tests.

The last patch just add pool name to fast pools.
It's IMHO very cheap and adds useful debug info for 
non-debug builds.


Zdenek Kabelac (4):
  Use hash tables for validating names
  Refactor code for _lv_postoder
  Do not check already checked part
  Add pool name to pool-fast as well

 lib/metadata/merge.c    |    3 +
 lib/metadata/metadata.c |  177 +++++++++++++++++++++++++++-------------------
 libdm/mm/pool-fast.c    |    2 +
 libdm/mm/pool.c         |    2 +-
 4 files changed, 110 insertions(+), 74 deletions(-)

-- 
1.7.4.1




More information about the lvm-devel mailing list