Skip to content

Test case for demonstrating lvmcache bug with duplicate vgnames

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add lvm_vg_name() and lvm_vg_uuid().lib/metadata/metadata-exported.h lib/metadata/metadata.c+21 -00 replies
2/3Update lvmcache_update_vg to use vgid as well as vgname.lib/cache/lvmcache.c+1 -10 replies
3/3Add duplicate vg test.test/api/duplicate-vg-test.c+69 -00 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/3] Test case for demonstrating lvmcache bug with duplicate vgnames

The following 3 patches should apply cleanly and demonstrate the lvmcache bug. The first patch just adds a couple accessor functions to display vgname and uuid. The second patch is the fix for the bug.
The last patch contains the test code that demonstrates the bug. Applying the first and third patches you should see the bug. Then apply the second patch and rebuild and you should see the bug is removed.