Gareth S Bestor
2011-Aug-12 02:11 UTC
[libvirt-users] virStoragePoolRefresh() returns before or after all new vols on path discovered?
Basically, does virStoragePoolRefresh() api 'block' until the pool has refreshed itself (eg added any/all new volumes found in the pool path) or can it return early before the refresh is fully 'done' ? - G Dr. Gareth S. Bestor IBM Senior Software Engineer Systems & Technology Group - Systems Management Standards 971-285-6375 (mobile) bestor at us.ibm.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110811/507d919a/attachment.htm>
Daniel P. Berrange
2011-Aug-12 09:00 UTC
[libvirt-users] virStoragePoolRefresh() returns before or after all new vols on path discovered?
On Thu, Aug 11, 2011 at 07:11:48PM -0700, Gareth S Bestor wrote:> Basically, does virStoragePoolRefresh() api 'block' until the pool has > refreshed itself (eg added any/all new volumes found in the pool path) or > can it return early before the refresh is fully 'done' ?It is a blocking API call. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|