Re: [PATCH 12/13] block: Don't poll in bdrv_replace_child_noperm()

2022-11-17 Thread Kevin Wolf
Am 14.11.2022 um 21:22 hat Hanna Reitz geschrieben: > On 08.11.22 13:37, Kevin Wolf wrote: > > In order to make sure that bdrv_replace_child_noperm() doesn't have to > > poll any more, get rid of the bdrv_parent_drained_begin_single() call. > > > > This is possible now because we can require that

Re: [PATCH 12/13] block: Don't poll in bdrv_replace_child_noperm()

2022-11-14 Thread Hanna Reitz
On 08.11.22 13:37, Kevin Wolf wrote: In order to make sure that bdrv_replace_child_noperm() doesn't have to poll any more, get rid of the bdrv_parent_drained_begin_single() call. This is possible now because we can require that the child is already drained when the function is called (it better

Re: [PATCH 12/13] block: Don't poll in bdrv_replace_child_noperm()

2022-11-11 Thread Emanuele Giuseppe Esposito
Am 08/11/2022 um 13:37 schrieb Kevin Wolf: > In order to make sure that bdrv_replace_child_noperm() doesn't have to > poll any more, get rid of the bdrv_parent_drained_begin_single() call. > > This is possible now because we can require that the child is already > drained when the function is c

[PATCH 12/13] block: Don't poll in bdrv_replace_child_noperm()

2022-11-08 Thread Kevin Wolf
In order to make sure that bdrv_replace_child_noperm() doesn't have to poll any more, get rid of the bdrv_parent_drained_begin_single() call. This is possible now because we can require that the child is already drained when the function is called (it better be, having in-flight requests while mod