Replicator 100428
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | Return ECMD_FAILED for breaktools/ | +1 | 1 reply | |
| 1/23 | Return ECMD_FAILED for break | +0 | 0 replies | |
| 2/23 | Add dm_list_splice() for list join.libdm/ libdm/ libdm/ | +29 | 1 reply | |
| 3/23 | API change for args of process_each_lv_in_vg()tools/ tools/ tools/ | +15 | 1 reply | |
| 3/23 | API change for args of process_each_lv_in_vg() | +0 | 0 replies | |
| 4/23 | Replicator: libdm supportlibdm/ libdm/ libdm/ | +328 | 0 replies | |
| 5/23 | Replicator: suspend/deactivate replicatorlibdm/ libdm/ libdm/ | +65 | 2 replies | |
| 5/23 | Replicator: suspend/deactivate replicator | +0 | 0 replies | |
| 5/23 | Replicator: suspend/deactivate replicator | +0 | 1 reply | |
| 5/23 | Replicator: suspend/deactivate replicator | +0 | 0 replies | |
| 6/23 | Replicator: lvm2 supportconfigure.in lib/ lib/ +9 more | +1273 | 0 replies | |
| 7/23 | Replicator: check replicator segmentlib/ lib/ lib/ | +161 | 0 replies | |
| 8/23 | Replicator: extend _lv_each_dependency() rep. depslib/ | +4 | 0 replies | |
| 9/23 | Replicator: extend volume_group with list of VGslib/ | +2 | 0 replies | |
| 10/23 | Replicator: add sorted cmd_vg listlib/ lib/ | +141 | 0 replies | |
| 11/23 | Replicator: add find_replicator_vgslib/ lib/ | +34 | 0 replies | |
| 12/23 | Replicator: add read and release VGs for rsiteslib/ lib/ | +59 | 0 replies | |
| 13/23 | Replicator: use cmd_vg list for _process_one_vg()tools/ | +32 | 0 replies | |
| 14/23 | Replicator: use cmd_vg for process_each_lv_in_vg()tools/ | +36 | 0 replies | |
| 15/23 | Replicator: lock_vol() finds missing VGslib/ | +3 | 0 replies | |
| 16/23 | Replicator: activate checks for missing vgslib/ | +18 | 0 replies | |
| 17/23 | Replicator: update _create_partial_dtree()lib/ | +76 | 0 replies | |
| 18/23 | Replicator: vg with cmd_missing_vgs does not printtools/ | +3 | 0 replies | |
| 19/23 | Replicator: add replicator to dtreelib/ | +59 | 0 replies | |
| 20/23 | Replicator: do not remove of replicators' LVslib/ | +9 | 0 replies | |
| 21/23 | Replicator: activate change for vgchangetools/ | +4 | 0 replies | |
| 22/23 | Replicator: add new options for replicatorlib/ lib/ tools/ +4 more | +89 | 0 replies | |
| 23/23 | Replicator: man pages for lvcreate, lvchangeman/ man/ | +118 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/23] Replicator 100428
Rebased set of replicator patches.
Log creation code is still kept separately as many changes are still on going in this code.
Updated parts:
* Updated dm_splice_list() API.
* Removed old code from dm_tree_preload_children().
* Renamed failed_lvs -> failed_lvnames.
* Switched vgs_list to cmd_vg and updated API slightly
* Extracted nonrelated change in front of patchset (return ECMD_FAILED)
* Previous set had wrong month number.
* Converted Makefiles.
* Renamed some functions (removed lvm_ prefix).
* Renamed vg_name_list -> vgs_list.
* Roved 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 (23):
Return ECMD_FAILED for break
Add dm_list_splice() for list join.
API change for args of process_each_lv_in_vg()
Replicator: libdm support
Replicator: suspend/deactivate replicator
Replicator: lvm2 support
Replicator: check replicator segment
Replicator: extend _lv_each_dependency() rep. deps
Replicator: extend volume_group with list of VGs
Replicator: add sorted cmd_vg list
Replicator: add find_replicator_vgs
Replicator: add read and release VGs for rsites
Replicator: use cmd_vg list for _process_one_vg()
Replicator: use cmd_vg 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 cmd_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 | 21 +- lib/activate/dev_manager.c | 136 +++++++- 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 | 98 +++++- lib/metadata/metadata.c | 4 + lib/metadata/metadata.h | 6 + lib/metadata/replicator_manip.c | 692 +++++++++++++++++++++++++++++++++ lib/metadata/segtype.h | 8 + lib/replicator/.exported_symbols | 1 + lib/replicator/Makefile.in | 25 ++ lib/replicator/replicator.c | 790 ++++++++++++++++++++++++++++++++++++++ libdm/.exported_symbols | 4 + libdm/datastruct/list.c | 24 ++- libdm/libdevmapper.h | 42 ++ libdm/libdm-deptree.c | 358 +++++++++++++++++- man/lvchange.8.in | 56 +++ man/lvcreate.8.in | 63 +++- tools/args.h | 13 + tools/commands.h | 7 + tools/lvcreate.c | 58 +++- tools/lvmcmdline.c | 9 + tools/toollib.c | 114 ++++-- tools/toollib.h | 1 + tools/tools.h | 1 + tools/vgchange.c | 9 +- tools/vgdisplay.c | 2 +- 33 files changed, 2558 insertions(+), 50 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