Re: [libvirt] [PATCH 1/6] Add util virCgroupGetBlkioIo*Serviced methods.

2014-01-20 Thread Thorsten Behrens
Gao feng wrote: > > +virCgroupGetBlkioIoServiced(virCgroupPtr group, > > +long long *bytes_read, > > +long long *bytes_write, > > +long long *requests_read, > > +long long *requests_write

Re: [libvirt] [PATCH 1/6] Add util virCgroupGetBlkioIo*Serviced methods.

2014-01-14 Thread Gao feng
On 01/15/2014 07:23 AM, Thorsten Behrens wrote: > This reads blkio stats from blkio.throttle.io_service_bytes and > blkio.throttle.io_serviced. > --- > src/libvirt_private.syms | 2 + > src/util/vircgroup.c | 208 > +++ > src/util/vircgroup.h

Re: [libvirt] [PATCH 1/6] Add util virCgroupGetBlkioIo*Serviced methods.

2014-01-14 Thread Gao feng
On 01/15/2014 07:23 AM, Thorsten Behrens wrote: > This reads blkio stats from blkio.throttle.io_service_bytes and > blkio.throttle.io_serviced. > --- > src/libvirt_private.syms | 2 + > src/util/vircgroup.c | 208 > +++ > src/util/vircgroup.h

[libvirt] [PATCH 1/6] Add util virCgroupGetBlkioIo*Serviced methods.

2014-01-14 Thread Thorsten Behrens
This reads blkio stats from blkio.throttle.io_service_bytes and blkio.throttle.io_serviced. --- src/libvirt_private.syms | 2 + src/util/vircgroup.c | 208 +++ src/util/vircgroup.h | 12 +++ 3 files changed, 222 insertions(+) diff --git a/src