[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 06/22] block: Add "supports_stats" field to B
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH v2 06/22] block: Add "supports_stats" field to BlockStats |
Date: |
Tue, 13 Oct 2015 16:38:30 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Fri, Oct 02, 2015 at 05:26:16PM +0300, Alberto Garcia wrote:
> query-blockstats always returns a BlockDeviceStats structure for each
> BDS, regardless of whether it implements accounting or not. Since the
> field is mandatory there's no way to tell that from the values alone.
>
> This field solves that problem by indicating which BDSs support I/O
> accounting.
I'm not sure I understand the problem.
If I/O accounting isn't being used then all fields will be 0?
- [Qemu-block] [PATCH v2 00/22] Extended I/O accounting, Alberto Garcia, 2015/10/08
- [Qemu-block] [PATCH v2 11/22] block: New option to define the intervals for collecting I/O statistics, Alberto Garcia, 2015/10/08
- [Qemu-block] [PATCH v2 04/22] util: Infrastructure for computing recent averages, Alberto Garcia, 2015/10/08
- [Qemu-block] [PATCH v2 02/22] ide: Account for write operations correctly, Alberto Garcia, 2015/10/08
- [Qemu-block] [PATCH v2 18/22] atapi: Account for failed and invalid operations, Alberto Garcia, 2015/10/08
- [Qemu-block] [PATCH v2 22/22] block: Update copyright of the accounting code, Alberto Garcia, 2015/10/08
- [Qemu-block] [PATCH v2 06/22] block: Add "supports_stats" field to BlockStats, Alberto Garcia, 2015/10/08
- Re: [Qemu-block] [PATCH v2 06/22] block: Add "supports_stats" field to BlockStats,
Stefan Hajnoczi <=
[Qemu-block] [PATCH v2 07/22] block: Add statistics for failed and invalid I/O operations, Alberto Garcia, 2015/10/08
[Qemu-block] [PATCH v2 09/22] block: Compute minimum, maximum and average I/O latencies, Alberto Garcia, 2015/10/08
[Qemu-block] [PATCH v2 19/22] ide: Account for failed and invalid operations, Alberto Garcia, 2015/10/08
[Qemu-block] [PATCH v2 21/22] scsi-disk: Account for failed operations, Alberto Garcia, 2015/10/08