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

Alexandre DERUMIER aderumier at odiso.com
Wed Jun 5 07:09:44 CEST 2013


>>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 ?


----- 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 06:56:19 
Objet: RE: [pve-devel] update disk config, always rescan all the storage, can we avoid that ? 

> >>The problem is that the same kind of actions can be fast or slow - depends 
> on storage type. 
> >>An asynchronous interface running a background task solves the problem, 
> but is clumsy to use. 
> 
> >>One idea was to always run a background task, but wait up to 5-10 
> >>seconds to see if the task finish within that time - if so return a special 
> TASK ID. 
> 
> >>Not sure if that is a good idea? 
> 
> Do you mean like taking snapshot / snapshot rollback ? 

No - not sure how that relates to snapshot/rollback? 



More information about the pve-devel mailing list