Re: [Qemu-devel] [PATCH] blockjob: fix user pause in block_job_error_action

2019-03-20 Thread Vladimir Sementsov-Ogievskiy
19.03.2019 14:01, Kevin Wolf wrote: > Am 19.03.2019 um 10:24 hat Vladimir Sementsov-Ogievskiy geschrieben: >> Job (especially mirror) may call block_job_error_action several >> times before actual pause if it has several in-flight requests. >> >> block_job_error_action will call job_pause more than

Re: [Qemu-devel] [PATCH] blockjob: fix user pause in block_job_error_action

2019-03-19 Thread John Snow
On 3/19/19 5:24 AM, Vladimir Sementsov-Ogievskiy wrote: > Job (especially mirror) may call block_job_error_action several > times before actual pause if it has several in-flight requests. > > block_job_error_action will call job_pause more than once in this case, > which lead to following block

Re: [Qemu-devel] [PATCH] blockjob: fix user pause in block_job_error_action

2019-03-19 Thread Kevin Wolf
Am 19.03.2019 um 10:24 hat Vladimir Sementsov-Ogievskiy geschrieben: > Job (especially mirror) may call block_job_error_action several > times before actual pause if it has several in-flight requests. > > block_job_error_action will call job_pause more than once in this case, > which lead to follo

[Qemu-devel] [PATCH] blockjob: fix user pause in block_job_error_action

2019-03-19 Thread Vladimir Sementsov-Ogievskiy
Job (especially mirror) may call block_job_error_action several times before actual pause if it has several in-flight requests. block_job_error_action will call job_pause more than once in this case, which lead to following block-job-resume qmp command can't actually resume the job. Fix it by do