Skip to content

shared snapshot removal fix and cleanups

Mike Snitzer 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/3Use the origin's uuid as the basis for the shared cow's uuid.lib/activate/dev_manager.c+17 -110 replies
2/3Introduce find_shared_cow() and lv_is_shared_cow() wrappers.lib/activate/dev_manager.c lib/metadata/metadata-exported.h lib/metadata/snapshot_manip.c +2 more+45 -190 replies
3/3Eliminate 'shared_snapshot' from 'struct logical_volume'.lib/format_text/flags.c lib/metadata/lv_alloc.h lib/metadata/lv_manip.c +2 more+17 -130 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] shared snapshot removal fix and cleanups

Mikulas,

These patches apply at the end of the quilt series I published here:
http://people.redhat.com/msnitzer/patches/multisnap/lvm2/LVM2-2.02.62/

Please make sure you have udev_sync enabled when testing; otherwise the shared exception store (-cow and -real) device removal will be unreliable (racing with udev).

Mike Snitzer (3):
Use the origin's uuid as the basis for the shared cow's uuid. Introduce find_shared_cow() and lv_is_shared_cow() wrappers. Eliminate 'shared_snapshot' from 'struct logical_volume'.

 lib/activate/dev_manager.c       |   37 ++++++++++++++++-----------
 lib/format_text/flags.c          |    1 +
 lib/metadata/lv_alloc.h          |    2 +-
 lib/metadata/lv_manip.c          |    3 +-
 lib/metadata/metadata-exported.h |   10 ++++----
 lib/metadata/snapshot_manip.c    |   50 ++++++++++++++++++++++++++++++-------
 lib/report/report.c              |    8 +++---
 tools/lvresize.c                 |    3 +-
 8 files changed, 75 insertions(+), 39 deletions(-)