[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] block/export: Conditionally ignore set-context error
From: |
Max Reitz |
Subject: |
[PATCH v2 0/2] block/export: Conditionally ignore set-context error |
Date: |
Thu, 24 Jun 2021 10:38:23 +0200 |
Hi,
I had this v2 lying around for quite some time but for some reason never
sent it. I probably just forgot. Sorry.
v1:
https://lists.nongnu.org/archive/html/qemu-block/2021-04/msg00584.html
Changes in v2:
- Letting `bdrv_try_set_aio_context()` return an error and then just
discarding it conditionally is kind of not right.
If we want to ignore the error, decide so from the start: Depending on
`fixed_iothread`, pass either `errp` or `NULL`.
- Patch 2: Reference output has changed because of 30ebb9aa920.
git-backport-diff against v1:
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
001/2:[0009] [FC] 'block/export: Conditionally ignore set-context error'
002/2:[0002] [FC] 'iotests/307: Test iothread conflict for exports'
Max Reitz (2):
block/export: Conditionally ignore set-context error
iotests/307: Test iothread conflict for exports
block/export/export.c | 5 ++++-
tests/qemu-iotests/307 | 15 +++++++++++++++
tests/qemu-iotests/307.out | 8 ++++++++
3 files changed, 27 insertions(+), 1 deletion(-)
--
2.31.1
- [PATCH v2 0/2] block/export: Conditionally ignore set-context error,
Max Reitz <=