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>
Showing
- block.c 9 additions, 0 deletionsblock.c
- block/file-posix.c 32 additions, 0 deletionsblock/file-posix.c
- block/qapi.c 5 additions, 0 deletionsblock/qapi.c
- include/block/block.h 1 addition, 0 deletionsinclude/block/block.h
- include/block/block_int.h 1 addition, 0 deletionsinclude/block/block_int.h
- qapi/block-core.json 38 additions, 0 deletionsqapi/block-core.json
Loading
Please register or sign in to comment