Re: [PATCH v9 07/21] blockjob: introduce block_job _locked() APIs

2022-07-11 Thread Emanuele Giuseppe Esposito
Am 11/07/2022 um 14:04 schrieb Vladimir Sementsov-Ogievskiy: > On 7/6/22 23:15, Emanuele Giuseppe Esposito wrote: >> Just as done with job.h, create _locked() functions in blockjob.h >> >> These functions will be later useful when caller has already taken >> the lock. All blockjob _locked

Re: [PATCH v9 07/21] blockjob: introduce block_job _locked() APIs

2022-07-11 Thread Vladimir Sementsov-Ogievskiy
On 7/6/22 23:15, Emanuele Giuseppe Esposito wrote: Just as done with job.h, create _locked() functions in blockjob.h These functions will be later useful when caller has already taken the lock. All blockjob _locked functions call job _locked functions. Note: at this stage, job_{lock/unlock}

[PATCH v9 07/21] blockjob: introduce block_job _locked() APIs

2022-07-06 Thread Emanuele Giuseppe Esposito
Just as done with job.h, create _locked() functions in blockjob.h These functions will be later useful when caller has already taken the lock. All blockjob _locked functions call job _locked functions. Note: at this stage, job_{lock/unlock} and job lock guard macros are *nop*. Signed-off-by: