Re: [PATCH v4 09/23] job: call job_enter from job_pause

2021-04-21 Thread Vladimir Sementsov-Ogievskiy
07.04.2021 14:38, Vladimir Sementsov-Ogievskiy wrote: 07.04.2021 14:19, Max Reitz wrote: On 16.01.21 22:46, Vladimir Sementsov-Ogievskiy wrote: If main job coroutine called job_yield (while some background process is in progress), we should give it a chance to call job_pause_point(). It will

Re: [PATCH v4 09/23] job: call job_enter from job_pause

2021-04-07 Thread Vladimir Sementsov-Ogievskiy
07.04.2021 14:19, Max Reitz wrote: On 16.01.21 22:46, Vladimir Sementsov-Ogievskiy wrote: If main job coroutine called job_yield (while some background process is in progress), we should give it a chance to call job_pause_point(). It will be used in backup, when moved on async block-copy.

Re: [PATCH v4 09/23] job: call job_enter from job_pause

2021-04-07 Thread Max Reitz
On 16.01.21 22:46, Vladimir Sementsov-Ogievskiy wrote: If main job coroutine called job_yield (while some background process is in progress), we should give it a chance to call job_pause_point(). It will be used in backup, when moved on async block-copy. Note, that job_user_pause is not enough:

Re: [PATCH v4 09/23] job: call job_enter from job_pause

2021-01-18 Thread Max Reitz
On 18.01.21 14:45, Max Reitz wrote: On 16.01.21 22:46, Vladimir Sementsov-Ogievskiy wrote: If main job coroutine called job_yield (while some background process is in progress), we should give it a chance to call job_pause_point(). It will be used in backup, when moved on async block-copy.

Re: [PATCH v4 09/23] job: call job_enter from job_pause

2021-01-18 Thread Max Reitz
On 16.01.21 22:46, Vladimir Sementsov-Ogievskiy wrote: If main job coroutine called job_yield (while some background process is in progress), we should give it a chance to call job_pause_point(). It will be used in backup, when moved on async block-copy. Note, that job_user_pause is not enough: