Skip to content

Replicator

Zdenek Kabelac lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25Remove const from volume_group* in process_eachtools/toollib.c tools/toollib.h+2 -21 reply
2/25Replicator: add libdm supportlibdm/.exported_symbols libdm/libdevmapper.h libdm/libdm-deptree.c+325 -50 replies
3/25Replicator: suspend/deactivate replicatorlibdm/.exported_symbols libdm/libdevmapper.h libdm/libdm-deptree.c+65 -00 replies
4/25Replicator: add lvm supportconfigure.in lib/Makefile.in lib/commands/toolcontext.c +9 more+1294 -10 replies
5/25Replicator: validate replicator segmentslib/metadata/metadata.c+158 -00 replies
6/25Replicator: extend _lv_each_dependency() rep. depslib/metadata/metadata.c+4 -00 replies
7/25Replicator: extend VG with list of opened vgslib/metadata/metadata-exported.h+4 -00 replies
8/25Replicator: add sorted vg_name_listlib/metadata/metadata-exported.h lib/metadata/replicator_manip.c+169 -00 replies
9/25Replicator: add lv_replicator_sites_check_vglib/metadata/metadata-exported.h lib/metadata/replicator_manip.c+34 -00 replies
10/25Replicator: add read/release VG for rsiteslib/metadata/metadata-exported.h lib/metadata/replicator_manip.c+58 -00 replies
11/25Replicator: use vg_name_list for _process_one_vg()tools/toollib.c+33 -230 replies
12/25Replicator: use str_list for process_each_lv_in_vglib/commands/toolcontext.c lib/commands/toolcontext.h tools/toollib.c+54 -100 replies
13/25Replicator: lock_vol update replicator LVlib/locking/locking.c lib/locking/locking.h+9 -10 replies
13/25Replicator: lock_vol update replicator LV+0 -00 replies
14/25Replicator: extend activate with rsite resolvinglib/activate/activate.c+18 -40 replies
15/25Replicator: update _create_partial_dtree()lib/activate/dev_manager.c+75 -00 replies
16/25Replicator: vg with missing_vgs does not printtools/vgchange.c+3 -20 replies
17/25Replicator: add replicator to dtreelib/activate/dev_manager.c+59 -10 replies
18/25Replicator: do not remove of replicators' LVslib/metadata/lv_manip.c+9 -00 replies
19/25Replicator: no crash lvresize if area_count is 0lib/metadata/lv_manip.c+5 -01 reply
20/25Replicator: activate change for vgchangetools/vgchange.c+4 -00 replies
21/25Replicator: add new options for replicatorlib/config/defaults.h lib/metadata/metadata-exported.h tools/args.h +4 more+90 -30 replies
22/25Replicator: man pages for lvcreate, lvchangeman/lvchange.8.in man/lvcreate.8.in+114 -10 replies
23/25Replicator: update copyright dateslib/activate/dev_manager.c lib/metadata/segtype.h libdm/libdm-deptree.c+3 -30 replies
24/25Replicator: update generated lib/misc/configure.h.inlib/misc/configure.h.in+3 -00 replies
25/25Replicator: update generated configure.inconfigure+32 -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 00/25] Replicator

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

Updated parts:
* Using common typedef between dm and lvm part for operation mode.
* cmd_context now contains only vgs_lvs_retry dm_list - needs to be fixed.
* 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
* Whole new API aroung vg_name_list which is now autonomous entity
* lock_vol now detects missing vgs using new LCK_MISSING_VG bit
* Tunning some API
* Processed vg contains list of opened vgs.

Zdenek Kabelac (25):
Remove const from volume_group* in process_each
Replicator: add libdm support
Replicator: suspend/deactivate replicator
Replicator: add lvm support
Replicator: validate replicator segments
Replicator: extend _lv_each_dependency() rep. deps
Replicator: extend VG with list of opened vgs
Replicator: add sorted vg_name_list
Replicator: add lv_replicator_sites_check_vg
Replicator: add read/release VG for rsites
Replicator: use vg_name_list for _process_one_vg()
Replicator: use str_list for process_each_lv_in_vg
Replicator: lock_vol update replicator LV
Replicator: extend activate with rsite resolving
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: no crash lvresize if area_count is 0
Replicator: activate change for vgchange
Replicator: add new options for replicator
Replicator: man pages for lvcreate, lvchange
Replicator: update copyright dates
Replicator: update generated lib/misc/configure.h.in
Replicator: update generated configure.in

 configure                        |   33 ++-
 configure.in                     |   17 +
 lib/Makefile.in                  |    9 +
 lib/activate/activate.c          |   22 +-
 lib/activate/dev_manager.c       |  137 +++++++-
 lib/commands/toolcontext.c       |    6 +
 lib/commands/toolcontext.h       |    2 +
 lib/config/defaults.h            |    1 +
 lib/format_text/flags.c          |    2 +
 lib/locking/locking.c            |    3 +
 lib/locking/locking.h            |    7 +-
 lib/metadata/lv_manip.c          |   15 +
 lib/metadata/merge.c             |   14 +
 lib/metadata/metadata-exported.h |  105 +++++-
 lib/metadata/metadata.c          |  162 ++++++++
 lib/metadata/replicator_manip.c  |  576 +++++++++++++++++++++++++++
 lib/metadata/segtype.h           |   10 +-
 lib/misc/configure.h.in          |    3 +
 lib/replicator/.exported_symbols |    1 +
 lib/replicator/Makefile.in       |   29 ++
 lib/replicator/replicator.c      |  794 ++++++++++++++++++++++++++++++++++++++
 libdm/.exported_symbols          |    3 +
 libdm/libdevmapper.h             |   33 ++
 libdm/libdm-deptree.c            |  361 +++++++++++++++++-
 man/lvchange.8.in                |   60 +++-
 man/lvcreate.8.in                |   55 +++
 tools/args.h                     |   13 +
 tools/commands.h                 |   10 +-
 tools/lvcreate.c                 |   58 +++-
 tools/lvmcmdline.c               |    9 +
 tools/toollib.c                  |  119 ++++--
 tools/toollib.h                  |    2 +-
 tools/tools.h                    |    1 +
 tools/vgchange.c                 |    9 +-
 34 files changed, 2624 insertions(+), 57 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