marsadm: set syncstatus link on primary after marsadm resize

This commit is contained in:
Frank Liepold 2013-06-27 08:14:40 +02:00 committed by Thomas Schoebel-Theuer
parent 3346daf959
commit 62b016d4cc
1 changed files with 3 additions and 5 deletions

View File

@ -1427,11 +1427,9 @@ sub resize_res {
my $this_size = get_link($syncsize);
ldie "sync on $syncsize has not yet finished: $this_size != $old_size (DANGEROUS FIX: if you know what you are doing, marsadm fake-sync can 'fix' it -- but this may need a full-sync afterwards)\n" unless $this_size == $old_size;
}
if (0) {
foreach my $syncsize (@syncsizes) {
my $this_size = get_link($syncsize);
set_link($new_size, $syncsize);
}
foreach my $syncsize (@syncsizes) {
my $this_size = get_link($syncsize);
set_link($new_size, $syncsize);
}
set_link($new_size, $lnk);
}