commit ea07be64a455caa19e5088639cad70ee0e4e91fb
Author: Daniel P. Berrange <email address hidden>
Date: Mon Feb 25 12:00:05 2013 +0000
Run libguestfs API calls in a thread pool
The libguestfs API is a binding to a native C library, and thus
it will block greenthreads. To avoid this all libguestfs API
calls need to be run in a threadpool. This can be done by just
wrapping the GuestFS object in an eventlet.tpool.Proxy object
Fixes bug #1132742
Change-Id: I877ad9e88442e41c9ad234503d9b1ddf1fb27408
Signed-off-by: Daniel P. Berrange <email address hidden>
Reviewed: https:/ /review. openstack. org/22838 github. com/openstack/ nova/commit/ ea07be64a455caa 19e5088639cad70 ee0e4e91fb
Committed: http://
Submitter: Jenkins
Branch: master
commit ea07be64a455caa 19e5088639cad70 ee0e4e91fb
Author: Daniel P. Berrange <email address hidden>
Date: Mon Feb 25 12:00:05 2013 +0000
Run libguestfs API calls in a thread pool
The libguestfs API is a binding to a native C library, and thus tpool.Proxy object
it will block greenthreads. To avoid this all libguestfs API
calls need to be run in a threadpool. This can be done by just
wrapping the GuestFS object in an eventlet.
Fixes bug #1132742 1c9ad234503d9b1 ddf1fb27408
Change-Id: I877ad9e88442e4
Signed-off-by: Daniel P. Berrange <email address hidden>