commit | 3f26191c7350c28d9c17b5eba253bff367b6cb2e | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Thu Nov 28 09:49:22 2019 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Sep 07 12:31:31 2020 +0200 |
tree | ba8f1c9c8834e0927ffff85d1db3713966fa84ef | |
parent | 7cc734a9ea1c57afe3b3fdeaba33b6a7da73bca2 [diff] |
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>