On 30.03.22 23:28, Vladimir Sementsov-Ogievskiy wrote:
Unfortunately not all filters use .file child as filtered child. Two
exclusions are mirror_top and commit_top. Happily they both are private
filters. Bad thing is that this inconsistency is observable through qmp
commands query-block / query-named-block-nodes. So, could we just
change mirror_top and commit_top to use file child as all other filter
driver is an open question. Probably, we could do that with some kind
of deprecation period, but how to warn users during it?

For now, let's just add a field so we can distinguish them in generic
code, it will be used in further commits.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@openvz.org>
---
  block/commit.c                   |  1 +
  block/mirror.c                   |  1 +
  include/block/block_int-common.h | 13 +++++++++++++
  3 files changed, 15 insertions(+)

Reviewed-by: Hanna Reitz <hre...@redhat.com>


Reply via email to