Re: [PATCH v6 11/18] job.h: rename job API functions called with job_mutex held

2022-06-09 Thread Stefan Hajnoczi
On Mon, Mar 14, 2022 at 09:37:00AM -0400, Emanuele Giuseppe Esposito wrote: > /** > - * Release a reference that was previously acquired with job_ref() or > + * Release a reference that was previously acquired with job_ref_locked() or > * job_create(). If it's the last reference to the object,

[PATCH v6 11/18] job.h: rename job API functions called with job_mutex held

2022-03-14 Thread Emanuele Giuseppe Esposito
With the *nop* job_lock/unlock placed, rename the job functions of the job API that are always under job_mutex, adding "_locked" suffix. List of functions that get this suffix: job_txn_unref job_txn_add_job job_ref job_unref job_enter_cond job_finish_sync