]> git.proxmox.com Git - qemu.git/commit
block: latency accounting
authorChristoph Hellwig <hch@lst.de>
Thu, 25 Aug 2011 06:26:10 +0000 (08:26 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 26 Aug 2011 16:18:38 +0000 (18:18 +0200)
commitc488c7f649106d09df76f697adccbe6e72520b26
tree7933f6f000b5ea1e5cc4bf528106f85575885723
parenta597e79ce14ea62266924acc7b8a7030a42ed29b
block: latency accounting

Account the total latency for read/write/flush requests.  This allows
management tools to average it based on a snapshot of the nr ops
counters and allow checking for SLAs or provide statistics.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
block_int.h
qmp-commands.hx