[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 03/25] block/block-backend.c: assertions for block-bac
From: |
Stefan Hajnoczi |
Subject: |
Re: [RFC PATCH v2 03/25] block/block-backend.c: assertions for block-backend |
Date: |
Thu, 7 Oct 2021 11:48:03 +0100 |
On Tue, Oct 05, 2021 at 10:31:53AM -0400, Emanuele Giuseppe Esposito wrote:
> All the global state (GS) API functions will check that
> qemu_in_main_thread() returns true. If not, it means
> that the safety of BQL cannot be guaranteed, and
> they need to be moved to I/O.
>
> Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
> ---
> block/block-backend.c | 89 +++++++++++++++++++++++++++++++++++++++++-
> softmmu/qdev-monitor.c | 2 +
> 2 files changed, 90 insertions(+), 1 deletion(-)
Modulo Eric's comment:
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- [RFC PATCH v2 00/25] block layer: split block APIs in global state and I/O, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 02/25] include/sysemu/block-backend: split header into I/O and global state (GS) API, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 01/25] main-loop.h: introduce qemu_in_main_thread(), Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 03/25] block/block-backend.c: assertions for block-backend, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 05/25] assertions for block global state API, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 06/25] include/block/block_int: split header into I/O and global state API, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 07/25] assertions for block_int global state API, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 09/25] include/block/blockjob_int.h: split header into I/O and GS API, Emanuele Giuseppe Esposito, 2021/10/05