Re: [PATCH v5 05/13] job: @force parameter for job_cancel_sync()

2021-10-07 Thread Vladimir Sementsov-Ogievskiy
10/6/21 18:19, Hanna Reitz wrote: Callers should be able to specify whether they want job_cancel_sync() to force-cancel the job or not. In fact, almost all invocations do not care about consistency of the result and just want the job to terminate as soon as possible, so they should pass force=tr

Re: [PATCH v5 05/13] job: @force parameter for job_cancel_sync()

2021-10-06 Thread Eric Blake
On Wed, Oct 06, 2021 at 05:19:32PM +0200, Hanna Reitz wrote: > Callers should be able to specify whether they want job_cancel_sync() to > force-cancel the job or not. > > In fact, almost all invocations do not care about consistency of the > result and just want the job to terminate as soon as pos

[PATCH v5 05/13] job: @force parameter for job_cancel_sync()

2021-10-06 Thread Hanna Reitz
Callers should be able to specify whether they want job_cancel_sync() to force-cancel the job or not. In fact, almost all invocations do not care about consistency of the result and just want the job to terminate as soon as possible, so they should pass force=true. The replication block driver is