On 21.01.22 18:05, Emanuele Giuseppe Esposito wrote:
This function is currently just a wrapper for bdrv_invalidate_cache(),
but in future will contain the code of bdrv_co_invalidate_cache() that
has to always be protected by BQL, and leave the rest in the I/O
coroutine.

Replace all bdrv_invalidate_cache() invokations with bdrv_activate().

Signed-off-by: Emanuele Giuseppe Esposito <eespo...@redhat.com>
---
  block.c                            | 7 ++++++-
  block/block-backend.c              | 2 +-
  block/export/export.c              | 2 +-
  block/parallels.c                  | 2 +-
  include/block/block-global-state.h | 2 +-
  tests/unit/test-block-iothread.c   | 2 +-
  6 files changed, 11 insertions(+), 6 deletions(-)

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


Reply via email to