summaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-08-22 00:25:58 +0200
committerKevin Wolf <kwolf@redhat.com>2011-08-23 17:41:14 +0200
commite8045d6726b45e27812cc7504781859e8c3afffb (patch)
treed316ed5583883f7e7b02afa0e4f0cda178713f3f /block_int.h
parentf785a5ae36c92fbeb8e0e8c9d71f5789cbce8b29 (diff)
downloadqemu-e8045d6726b45e27812cc7504781859e8c3afffb.tar.gz
qemu-e8045d6726b45e27812cc7504781859e8c3afffb.tar.bz2
qemu-e8045d6726b45e27812cc7504781859e8c3afffb.zip
block: include flush requests in info blockstats
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block_int.h b/block_int.h
index f6d02b38a7..f1480d6ddd 100644
--- a/block_int.h
+++ b/block_int.h
@@ -188,6 +188,7 @@ struct BlockDriverState {
uint64_t wr_bytes;
uint64_t rd_ops;
uint64_t wr_ops;
+ uint64_t flush_ops;
uint64_t wr_highest_sector;
/* Whether the disk can expand beyond total_sectors */