block: Report data child for query-blockstats
It makes no sense to report the block stats of a purely metadata-storing child in query-blockstats. So if the primary child does not have any data, try to find a unique data-storing child. Signed-off-by:Max Reitz <mreitz@redhat.com> Reviewed-by:
Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by:
Kevin Wolf <kwolf@redhat.com>
Loading
Please register or sign in to comment