Re: [libvirt] [PATCH v4] parallels: add block device statistics to driver

2015-06-09 Thread Nikolay Shirokovskiy
On 08.06.2015 20:56, Dmitry Guryanov wrote: On 06/05/2015 05:17 PM, Nikolay Shirokovskiy wrote: static int parallelsDoCmdRun(char **outbuf, const char *binary, va_list list) diff --git a/src/parallels/parallels_utils.h b/src/parallels/parallels_utils.h index 2d1d405..cdf6082 100644

Re: [libvirt] [PATCH v4] parallels: add block device statistics to driver

2015-06-08 Thread Dmitry Guryanov
On 06/05/2015 05:17 PM, Nikolay Shirokovskiy wrote: static int parallelsDoCmdRun(char **outbuf, const char *binary, va_list list) diff --git a/src/parallels/parallels_utils.h b/src/parallels/parallels_utils.h index 2d1d405..cdf6082 100644 --- a/src/parallels/parallels_utils.h +++

[libvirt] [PATCH v4] parallels: add block device statistics to driver

2015-06-05 Thread Nikolay Shirokovskiy
Statistics provided through PCS SDK. As we have only async interface in SDK we need to be subscribed to statistics in order to get it. Trivial solution on every stat request to subscribe, wait event and then unsubscribe will lead to significant delays in case of a number of successive requests, as