On Fri, Oct 02, 2015 at 05:26:18PM +0300, Alberto Garcia wrote: > This patch adds two options, "stats-account-invalid" and > "stats-account-failed", that can be used to decide whether invalid and > failed I/O operations must be used when collecting statistics for > latency and last access time. > > Signed-off-by: Alberto Garcia <be...@igalia.com> > --- > block/accounting.c | 24 +++++++++++++++++++----- > block/qapi.c | 3 +++ > blockdev.c | 16 ++++++++++++++++ > include/block/accounting.h | 5 +++++ > qapi/block-core.json | 17 ++++++++++++++++- > qmp-commands.hx | 25 ++++++++++++++++++++----- > 6 files changed, 79 insertions(+), 11 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>