Skip to content

block/nbd: Move s->ioc on AioContext change

Hanna Reitz qemu-devel 2 versions – Applied

Status from this message: Applied to my nbd branch. I'll wait for additional comments until Tuesday before preparing a pull req.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyApplied
  2. v17 patches 8 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7block/nbd: Delete reconnect delay timer when doneblock/nbd.c+7 -00 replies
2/7block/nbd: Delete open timer when doneblock/nbd.c+8 -00 replies
3/7block/nbd: Assert there are no timers when closedblock/nbd.c+4 -00 replies
4/7iotests.py: Add QemuStorageDaemon classtests/qemu-iotests/iotests.py+40 -00 replies
5/7iotests/281: Test lingering timerstests/qemu-iotests/281 tests/qemu-iotests/281.out+79 -40 replies
6/7block/nbd: Move s->ioc on AioContext changeblock/nbd.c+45 -00 replies
7/7iotests/281: Let NBD connection yield in iothreadtests/qemu-iotests/281 tests/qemu-iotests/281.out+27 -50 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchVladimir Sementsov-Ogievskiy
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] block/nbd: Move s->ioc on AioContext change

Hi,

The original RFC is here:
https://lists.nongnu.org/archive/html/qemu-block/2022-01/msg00765.html

And v1 (whose cover letter has some exposition) is here:
https://lists.nongnu.org/archive/html/qemu-block/2022-02/msg00124.html

In v2, I’ve fixed the QemuStorageDaemon class added in patch 4 as suggested by Vladimir:
- Have __init__()’s instance_id parameter have its actual default value instead of some weird if instance_id is None construct
- Assert that the QSD class users won’t use --pidfile

(And added Vladimir’s R-b to all patches.)

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/7:[----] [--] 'block/nbd: Delete reconnect delay timer when done' 002/7:[----] [--] 'block/nbd: Delete open timer when done' 003/7:[----] [--] 'block/nbd: Assert there are no timers when closed' 004/7:[0006] [FC] 'iotests.py: Add QemuStorageDaemon class' 005/7:[----] [--] 'iotests/281: Test lingering timers' 006/7:[----] [--] 'block/nbd: Move s->ioc on AioContext change' 007/7:[----] [--] 'iotests/281: Let NBD connection yield in iothread'

Hanna Reitz (7):
block/nbd: Delete reconnect delay timer when done block/nbd: Delete open timer when done block/nbd: Assert there are no timers when closed iotests.py: Add QemuStorageDaemon class iotests/281: Test lingering timers block/nbd: Move s->ioc on AioContext change iotests/281: Let NBD connection yield in iothread

 block/nbd.c                   |  64 +++++++++++++++++++++
 tests/qemu-iotests/281        | 101 +++++++++++++++++++++++++++++++++-
 tests/qemu-iotests/281.out    |   4 +-
 tests/qemu-iotests/iotests.py |  40 ++++++++++++++
 4 files changed, 205 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1