[pve-devel] update disk config, always rescan all the storage, can we avoid that ?

Alexandre DERUMIER aderumier at odiso.com
Wed Jun 5 09:29:05 CEST 2013


>>If the update function return the special task ID mentioned we know everything went OK (synchronous case) . 
>>
>>if we get a normal task ID, we can span TaskProgress (like we do in the snapshot GUI). 
Oh ok, got it! so no need to add new api :)

Do you want to return special taskid for all disk add/remove, or only for some "slow" storages.


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mercredi 5 Juin 2013 07:46:49 
Objet: RE: [pve-devel] update disk config, always rescan all the storage, can we avoid that ? 

> >>No - not sure how that relates to snapshot/rollback 
> I mean in gui, I think that snapshot/rollback are background task ? with a 
> progress bar waiting displayed ? 

If the update function return the special task ID mentioned we know everything went OK (synchronous case) . 

if we get a normal task ID, we can span TaskProgress (like we do in the snapshot GUI). 


More information about the pve-devel mailing list