[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 17/25] include/block/transactions: global state API +
From: |
Stefan Hajnoczi |
Subject: |
Re: [RFC PATCH v2 17/25] include/block/transactions: global state API + assertions |
Date: |
Thu, 7 Oct 2021 15:47:20 +0100 |
On Tue, Oct 05, 2021 at 10:32:07AM -0400, Emanuele Giuseppe Esposito wrote:
> transactions run always under the BQL lock, so they are all
> in the global state API.
>
> Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
> ---
> include/qemu/transactions.h | 24 ++++++++++++++++++++++++
> util/transactions.c | 4 ++++
> 2 files changed, 28 insertions(+)
Hmm...not sure about this. Maybe Vladimir can share his thoughts.
This seems like a library that can be used in various situations. It has
no connection to the BQL. There's no need to declare it GS or I/O
because it's just a utility just like QEMUIOVector, etc.
signature.asc
Description: PGP signature
- [RFC PATCH v2 14/25] assertions for blockdev.h global state API, (continued)
- [RFC PATCH v2 14/25] assertions for blockdev.h global state API, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 16/25] block/backup-top.h: global state API + assertions, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 18/25] block/coroutines: I/O API, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 17/25] include/block/transactions: global state API + assertions, Emanuele Giuseppe Esposito, 2021/10/05
- Re: [RFC PATCH v2 17/25] include/block/transactions: global state API + assertions,
Stefan Hajnoczi <=
- [RFC PATCH v2 15/25] include/block/snapshot: global state API + assertions, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 19/25] block_int-common.h: split function pointers in BlockDriver, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 20/25] block_int-common.h: assertion in the callers of BlockDriver function pointers, Emanuele Giuseppe Esposito, 2021/10/05
- [RFC PATCH v2 21/25] block_int-common.h: split function pointers in BdrvChildClass, Emanuele Giuseppe Esposito, 2021/10/05