master - mirror: reconfigure_mirror_images not used
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=00877fe47b99458e22f6e1c928505fc75aad0752 Commit: 00877fe47b99458e22f6e1c928505fc75aad0752 Parent: 54c24193f535660478e88af76340eef40dc3223c Author: Peter Rajnoha <[email protected]> AuthorDate: Wed Aug 15 10:44:19 2012 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Wed Aug 15 10:44:19 2012 +0200
mirror: reconfigure_mirror_images not used
--- lib/metadata/metadata-exported.h | 3 +++ lib/metadata/mirror.c | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-)
lib/metadata/metadata-exported.h +3 -0
@@ -761,8 +761,11 @@ int add_mirror_log(struct cmd_context *cmd, struct logical_volume *lv, uint32_t log_count, uint32_t region_size, struct dm_list *allocatable_pvs, alloc_policy_t alloc); +#if 0 +/* FIXME: reconfigure_mirror_images: remove this code? */ int reconfigure_mirror_images (struct lv_segment *mirrored_seg,uint32_t num_mirrors,struct dm_list *removable_pvs,unsigned remove_log); +#endif int collapse_mirrored_lv (struct logical_volume *lv);int shift_mirror_images (struct lv_segment *mirrored_seg,unsigned mimage);
lib/metadata/mirror.c +3 -0
@@ -1219,6 +1219,8 @@ int collapse_mirrored_lv(struct logical_volume *lv)return 1 ; } +#if 0 +/* FIXME: reconfigure_mirror_images: remove this code? */ static int _get_mirror_fault_policy (struct cmd_context *cmd __attribute__((unused)),int log_policy) {
@@ -1375,6 +1377,7 @@ int reconfigure_mirror_images(struct lv_segment *mirrored_seg, uint32_t num_mirr*/ return 1 ; } +#endif static int _create_mimage_lvs(struct alloc_handle *ah, uint32_t num_mirrors,