Am 08/07/2022 um 21:25 schrieb Vladimir Sementsov-Ogievskiy: >> static bool job_started(Job *job) > > So we can call it both with mutex locked and without. Hope it never race > with job_start. Where exactly do you see it called with mutex not held? I don't see it anywhere, and if you agree too, we should rename it in _locked. Emanuele
- [PATCH v9 00/21] job: replace AioContext lock... Emanuele Giuseppe Esposito
- [PATCH v9 06/21] job: move and update co... Emanuele Giuseppe Esposito
- Re: [PATCH v9 06/21] job: move and u... Vladimir Sementsov-Ogievskiy
- [PATCH v9 03/21] job.c: API functions no... Emanuele Giuseppe Esposito
- [PATCH v9 11/21] jobs: group together AP... Emanuele Giuseppe Esposito
- Re: [PATCH v9 11/21] jobs: group tog... Vladimir Sementsov-Ogievskiy
- [PATCH v9 05/21] job.c: add job_lock/unl... Emanuele Giuseppe Esposito
- Re: [PATCH v9 05/21] job.c: add job_... Vladimir Sementsov-Ogievskiy
- Re: [PATCH v9 05/21] job.c: add ... Emanuele Giuseppe Esposito
- Re: [PATCH v9 05/21] job.c: ... Vladimir Sementsov-Ogievskiy
- [PATCH v9 07/21] blockjob: introduce blo... Emanuele Giuseppe Esposito
- Re: [PATCH v9 07/21] blockjob: intro... Vladimir Sementsov-Ogievskiy
- Re: [PATCH v9 07/21] blockjob: i... Emanuele Giuseppe Esposito
- [PATCH v9 10/21] block/mirror.c: use of ... Emanuele Giuseppe Esposito
- Re: [PATCH v9 10/21] block/mirror.c:... Vladimir Sementsov-Ogievskiy
- [PATCH v9 04/21] aio-wait.h: introduce A... Emanuele Giuseppe Esposito
- [PATCH v9 12/21] commit and mirror: crea... Emanuele Giuseppe Esposito
- Re: [PATCH v9 12/21] commit and mirr... Vladimir Sementsov-Ogievskiy
- [PATCH v9 02/21] job.h: categorize field... Emanuele Giuseppe Esposito