]> git.proxmox.com Git - mirror_qemu.git/commit - block/qapi.c
qapi: query-blockstat: add driver specific file-posix stats
authorAnton Nefedov <anton.nefedov@virtuozzo.com>
Mon, 23 Sep 2019 12:17:37 +0000 (15:17 +0300)
committerMax Reitz <mreitz@redhat.com>
Thu, 10 Oct 2019 08:56:18 +0000 (10:56 +0200)
commitd924559953c0b679582548d8fd8af025667051e3
tree78ed49162199ff0a33f6ff6c1497bf2881107da0
parent1c450366365a01c5c1c354af68b8aac5cf5f18c9
qapi: query-blockstat: add driver specific file-posix stats

A block driver can provide a callback to report driver-specific
statistics.

file-posix driver now reports discard statistics

Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20190923121737.83281-10-anton.nefedov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block.c
block/file-posix.c
block/qapi.c
include/block/block.h
include/block/block_int.h
qapi/block-core.json