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)
commit54a96714ce32dc9138411a37bc59861b982a3131
tree7933f6f000b5ea1e5cc4bf528106f85575885723
parent9f1d6eb805985c65d4b16892dc644b6893b9ea62
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