qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 19/33] block: introduce bdrv_activate


From: Hanna Reitz
Subject: Re: [PATCH v6 19/33] block: introduce bdrv_activate
Date: Wed, 26 Jan 2022 12:49:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

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 <eesposit@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 <hreitz@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]