Skip to content

VG Validation updates

Zdenek Kabelac lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Use hash tables for validating nameslib/metadata/metadata.c+80 -580 replies
2/4Refactor code for _lv_postoderlib/metadata/metadata.c+24 -150 replies
3/4Do not check already checked partlib/metadata/merge.c+3 -00 replies
4/4Add pool name to pool-fast as welllibdm/mm/pool-fast.c libdm/mm/pool.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] VG Validation updates

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(-)
Signature · 1 line
1.7.4.1