[PATCH v2 00/12] more progress towards backing chain allocation stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v1 was here:
https://www.redhat.com/archives/libvir-list/2014-December/msg00370.html

ACKed patches from that series have been pushed.  In this series,
3, 4, and 6 are new, and others try to address some of the feedback
and deal with rebased design decisions that resulted.  I still don't
have things reporting quite as nicely as I would like (it turns out
that we HAVE to stat() a file for an online domain to learn its
allocation, and that for block devices, we HAVE to open()/lseek() to
learn its physical size; meanwhile, I still want to fix
virDomainGetBlockInfo to avoid read()ing a file while qemu is
active by reusing the code that getStats uses).  But I'm posting
another round now, to hopefully get early patches ACKed and into
the tree, and to demonstrate that I now have recursive stat
collection for an active domain relying solely on qemu rather than
read()ing the backing files directly.

Eric Blake (12):
  qemu: refactor blockinfo job handling
  qemu: let blockinfo reuse virStorageSource
  getstats: prepare monitor collection for recursion
  getstats: perform recursion in monitor collection
  getstats: rearrange blockinfo gathering
  qemu: fix bugs in blockstats
  qemu: refactor blockinfo data gathering
  getstats: report block sizes for offline domains
  getstats: prepare for dynamic block.count stat
  getstats: add new flag for block backing chain
  getstats: split block stats reporting for easier recursion
  getstats: start crawling backing chain for qemu

 include/libvirt/libvirt-domain.h |  24 +-
 src/libvirt-domain.c             |   7 +-
 src/qemu/qemu_domain.c           |  19 ++
 src/qemu/qemu_domain.h           |   1 +
 src/qemu/qemu_driver.c           | 477 ++++++++++++++++++++++++---------------
 src/qemu/qemu_migration.c        |   3 +-
 src/qemu/qemu_monitor.c          |  24 +-
 src/qemu/qemu_monitor.h          |   6 +-
 src/qemu/qemu_monitor_json.c     | 291 ++++++++++++++----------
 src/qemu/qemu_monitor_json.h     |   6 +-
 src/util/virstoragefile.c        |   3 +-
 src/util/virstoragefile.h        |   3 +-
 tools/virsh-domain-monitor.c     |   7 +
 tools/virsh.pod                  |   8 +-
 14 files changed, 558 insertions(+), 321 deletions(-)

-- 
1.9.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]