[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v3 00/10] block: Delay poll when ending drained

From: Kevin Wolf
Subject: Re: [Qemu-block] [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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]