mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-01 18:50:41 +03:00
mirror: reconfigure_mirror_images not used
This commit is contained in:
parent
54c24193f5
commit
00877fe47b
@ -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);
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user