Skip to content

Replicator 100412

Zdenek Kabelac lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22Add dm_list_splice() for list join.libdm/.exported_symbols libdm/datastruct/list.c libdm/libdevmapper.h+18 -03 replies
2/22API change for args of process_each_lv_in_vg()tools/toollib.c tools/toollib.h tools/vgdisplay.c+15 -22 replies
3/22Replicator: add libdm supportlibdm/.exported_symbols libdm/libdevmapper.h libdm/libdm-deptree.c+325 -51 reply
3/22Replicator: add libdm support+0 -00 replies
4/22Replicator: suspend/deactivate replicatorlibdm/.exported_symbols libdm/libdevmapper.h libdm/libdm-deptree.c+65 -01 reply
5/22Replicator: add lvm supportconfigure.in lib/Makefile.in lib/commands/toolcontext.c +9 more+1290 -11 reply
6/22Replicator: check replicator segmentlib/metadata/merge.c lib/metadata/metadata-exported.h lib/metadata/replicator_manip.c+156 -00 replies
7/22Replicator: extend _lv_each_dependency() rep. depslib/metadata/metadata.c+4 -00 replies
8/22Replicator: extend volume_group with list of VGslib/metadata/metadata-exported.h+4 -02 replies
8/22Replicator: extend volume_group with list of VGs+0 -00 replies
8/22Replicator: extend volume_group with list of VGs+0 -00 replies
9/22Replicator: add sorted vgs_listlib/metadata/metadata-exported.h lib/metadata/replicator_manip.c+158 -01 reply
9/22Replicator: add sorted vgs_list+0 -01 reply
10/22Replicator: add find_replicator_vgslib/metadata/metadata-exported.h lib/metadata/replicator_manip.c+34 -00 replies
11/22Replicator: add read and release VGs for rsiteslib/metadata/metadata-exported.h lib/metadata/replicator_manip.c+59 -00 replies
12/22Replicator: use vgs_list for _process_one_vg()tools/toollib.c+33 -230 replies
13/22Replicator: use vgs_list for process_each_lv_in_vg()tools/toollib.c+37 -100 replies
14/22Replicator: lock_vol() finds missing VGslib/locking/locking.h+3 -10 replies
15/22Replicator: activate checks for missing vgslib/activate/activate.c+18 -41 reply
16/22Replicator: update _create_partial_dtree()lib/activate/dev_manager.c+75 -00 replies
17/22Replicator: vg with missing_vgs does not printtools/vgchange.c+3 -20 replies
18/22Replicator: add replicator to dtreelib/activate/dev_manager.c+59 -10 replies
19/22Replicator: do not remove of replicators' LVslib/metadata/lv_manip.c+9 -00 replies
20/22Replicator: activate change for vgchangetools/vgchange.c+4 -00 replies
21/22Replicator: add new options for replicatorlib/config/defaults.h lib/metadata/metadata-exported.h tools/args.h +4 more+87 -00 replies
22/22Replicator: man pages for lvcreate, lvchangeman/lvchange.8.in man/lvcreate.8.in+112 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/22] Replicator 100412

Rebased set of replicator patches.
Log creation code is still kept separately as many changes are still on going in this code.

Updated parts:

* previous set had wrong month number.
* converted Makefiles.
* renamed some functions (removed lvm_ prefix).
* renamed vg_name_list -> vgs_list.
* moved code from validation to segment checking.

* Added dm_list_splice
* Changed API for process_each_lv_in_vg()
* lock_lv_vol() detects missing VGs before calling lock_vol().

* Using common typedef between dm and lvm part for operation mode.
* Minor code reoganization based on review
* Extended validation code.
* Added manpages updates to patches to document API
still this is ongoing task to make all the options working.
* API around vg_name_list which is now autonomous entity.
* Processed VG contains list of opened VGs and flag for missing VGs.

Zdenek Kabelac (22):
Add dm_list_splice() for list join.
API change for args of process_each_lv_in_vg()
Replicator: add libdm support
Replicator: suspend/deactivate replicator
Replicator: add lvm support
Replicator: check replicator segment
Replicator: extend _lv_each_dependency() rep. deps
Replicator: extend volume_group with list of VGs
Replicator: add sorted vgs_list
Replicator: add find_replicator_vgs
Replicator: add read and release VGs for rsites
Replicator: use vgs_list for _process_one_vg()
Replicator: use vgs_list for process_each_lv_in_vg()
Replicator: lock_vol() finds missing VGs
Replicator: activate checks for missing vgs
Replicator: update _create_partial_dtree()
Replicator: vg with missing_vgs does not print
Replicator: add replicator to dtree
Replicator: do not remove of replicators' LVs
Replicator: activate change for vgchange
Replicator: add new options for replicator
Replicator: man pages for lvcreate, lvchange

 configure.in                     |   17 +
 lib/Makefile.in                  |   10 +
 lib/activate/activate.c          |   22 +-
 lib/activate/dev_manager.c       |  135 +++++++-
 lib/commands/toolcontext.c       |    5 +
 lib/config/defaults.h            |    1 +
 lib/format_text/flags.c          |    2 +
 lib/locking/locking.h            |    4 +-
 lib/metadata/lv_manip.c          |   10 +
 lib/metadata/merge.c             |   17 +
 lib/metadata/metadata-exported.h |  105 +++++-
 lib/metadata/metadata.c          |    4 +
 lib/metadata/replicator_manip.c  |  718 ++++++++++++++++++++++++++++++++++
 lib/metadata/segtype.h           |    8 +
 lib/replicator/.exported_symbols |    1 +
 lib/replicator/Makefile.in       |   25 ++
 lib/replicator/replicator.c      |  794 ++++++++++++++++++++++++++++++++++++++
 libdm/.exported_symbols          |    4 +
 libdm/datastruct/list.c          |   12 +
 libdm/libdevmapper.h             |   38 ++
 libdm/libdm-deptree.c            |  359 +++++++++++++++++-
 man/lvchange.8.in                |   57 +++
 man/lvcreate.8.in                |   55 +++
 tools/args.h                     |   13 +
 tools/commands.h                 |    7 +
 tools/lvcreate.c                 |   55 +++
 tools/lvmcmdline.c               |    9 +
 tools/toollib.c                  |  115 ++++--
 tools/toollib.h                  |    1 +
 tools/tools.h                    |    1 +
 tools/vgchange.c                 |    9 +-
 tools/vgdisplay.c                |    2 +-
 32 files changed, 2567 insertions(+), 48 deletions(-)
 create mode 100644 lib/metadata/replicator_manip.c
 create mode 100644 lib/replicator/.exported_symbols
 create mode 100644 lib/replicator/Makefile.in
 create mode 100644 lib/replicator/replicator.c