Re: [PATCH for-7.2 3/5] block/mirror: Fix NULL s->job in active writes

2022-11-10 Thread Hanna Reitz
On 10.11.22 13:10, Kevin Wolf wrote: 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

Re: [PATCH for-7.2 3/5] block/mirror: Fix NULL s->job in active writes

2022-11-10 Thread Kevin Wolf
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 re

[PATCH for-7.2 3/5] block/mirror: Fix NULL s->job in active writes

2022-11-09 Thread Hanna Reitz
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 re