mirror of
				https://git.proxmox.com/git/qemu-server
				synced 2025-10-31 21:26:53 +00:00 
			
		
		
		
	drive mirror: stop logging progress for a disk after it got ready
If, why ever, got "not-ready" again we'd log again the next round. Improves the behavior for multiple disks, especially on migration where we mirrored the local disks one by one, but kept reporting on prev. ones. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		
							parent
							
								
									b5e9d97bdf
								
							
						
					
					
						commit
						67daf6921b
					
				| @ -7100,7 +7100,8 @@ sub qemu_drive_mirror_monitor { | ||||
| 			    $status .= ", ready"; | ||||
| 			} | ||||
| 		    } | ||||
| 		    print "$job_id: $status\n"; | ||||
| 		    print "$job_id: $status\n" if !$jobs->{$job_id}->{ready}; | ||||
| 		    $jobs->{$job_id}->{ready} = $ready; | ||||
| 		} | ||||
| 
 | ||||
| 		$readycounter++ if $job->{ready}; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thomas Lamprecht
						Thomas Lamprecht