[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 03/10] blockjob: introduce block_job_fail
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 03/10] blockjob: introduce block_job_fail |
Date: |
Tue, 11 Apr 2017 12:00:36 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 10/04/2017 17:22, Stefan Hajnoczi wrote:
>>
>> Later on, block_job_fail will also have different locking than
>> block_job_unref.
> block_job_fail() sounds like it's *the* job failure API.
> How about block_job_fail_early()?
>
> It indicates the API is only for the beginning of the job's lifecycle.
Can't disagree and I'll apply your suggestion. Thanks,
Paolo