[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 00/10] block: Delay poll when ending drained
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v3 00/10] block: Delay poll when ending drained sections |
Date: |
Fri, 19 Jul 2019 15:16:24 +0200 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
Am 19.07.2019 um 11:26 hat Max Reitz geschrieben:
> Hi,
>
> This series:
>
> (1) Keeps patch 1, as the previous series, and
>
> (2) Decides whether all *drained_end* functions should poll or not; as
> proposed by Kevin, all that should not poll now get a
> @drained_end_counter pointer, whose pointee they have to increment
> once for every background operation scheduled, and that background
> operation will decrement it once it settles.
> This allows functions that should poll to do so until the counter
> reaches 0, so they don’t have to poll after scheduling every single
> operation but can do so once in a place where it’s safe.
Thanks, applied to the block branch.
Kevin
- [Qemu-devel] [PATCH v3 01/10] block: Introduce BdrvChild.parent_quiesce_counter, (continued)
- [Qemu-devel] [PATCH v3 01/10] block: Introduce BdrvChild.parent_quiesce_counter, Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 02/10] tests: Add job commit by drained_end test, Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 03/10] block: Add @drained_end_counter, Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 04/10] block: Make bdrv_parent_drained_[^_]*() static, Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 05/10] tests: Lock AioContexts in test-block-iothread, Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 06/10] block: Do not poll in bdrv_do_drained_end(), Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 07/10] tests: Extend commit by drained_end test, Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 08/10] block: Loop unsafely in bdrv*drained_end(), Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 09/10] iotests: Add @has_quit to vm.shutdown(), Max Reitz, 2019/07/19
- [Qemu-devel] [PATCH v3 10/10] iotests: Test commit with a filter on the chain, Max Reitz, 2019/07/19
- Re: [Qemu-devel] [PATCH v3 00/10] block: Delay poll when ending drained sections,
Kevin Wolf <=