diff options
author | Emanuele Giuseppe Esposito <eesposit@redhat.com> | 2022-02-09 05:54:52 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-03-04 18:14:40 +0100 |
commit | 11d0c9b37e94959662f6bcd640aa33137e11dcac (patch) | |
tree | 468e420a657a0cb29b7269345fa4c006d2cfa01c /disas.c | |
parent | 3b71719462b869463e34394e56c74644672c69e5 (diff) | |
download | qemu-11d0c9b37e94959662f6bcd640aa33137e11dcac.zip qemu-11d0c9b37e94959662f6bcd640aa33137e11dcac.tar.gz qemu-11d0c9b37e94959662f6bcd640aa33137e11dcac.tar.bz2 |
block: move BQL logic of bdrv_co_invalidate_cache in bdrv_activate
Split bdrv_co_invalidate cache in two: the Global State (under BQL)
code that takes care of permissions and running GS callbacks,
and leave only the I/O code (->bdrv_co_invalidate_cache) running in
the I/O coroutine.
The only side effect is that bdrv_co_invalidate_cache is not
recursive anymore, and so is every direct call to
bdrv_invalidate_cache().
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20220209105452.1694545-6-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions