[lvm-devel] [PATCH 00/23] Replicator 100428
Zdenek Kabelac
zkabelac at redhat.com
Wed Apr 28 12:27:19 UTC 2010
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
More information about the lvm-devel
mailing list