Am 09.11.2022 um 17:54 hat Hanna Reitz geschrieben: > There is a small gap in mirror_start_job() before putting the mirror > filter node into the block graph (bdrv_append() call) and the actual job > being created. Before the job is created, MirrorBDSOpaque.job is NULL. > > It is possible that requests come in when bdrv_drained_end() is called, > and those requests would see MirrorBDSOpaque.job == NULL. Have our > filter node handle that case gracefully. > > Signed-off-by: Hanna Reitz <hre...@redhat.com>
This can only happen because bdrv_drained_end() polls, right? So after changing that it won't be necessary any more, but this series is for 7.2 and the drain one isn't, so this is the right thing to do for now. Reviewed-by: Kevin Wolf <kw...@redhat.com>