Re: [PATCH 02/23] mirror: Fix access of uninitialised fields during start

2023-02-22 Thread Vladimir Sementsov-Ogievskiy
On 03.02.23 18:21, Kevin Wolf wrote: bdrv_mirror_top_pwritev() accesses the job object when active mirroring is enabled. It disables this code during early initialisation while s->job isn't set yet. However, s->job is still set way too early when the job object isn't fully initialised. For

[PATCH 02/23] mirror: Fix access of uninitialised fields during start

2023-02-03 Thread Kevin Wolf
bdrv_mirror_top_pwritev() accesses the job object when active mirroring is enabled. It disables this code during early initialisation while s->job isn't set yet. However, s->job is still set way too early when the job object isn't fully initialised. For example, >ops_in_flight isn't initialised