• K
    job: Add job_drain() · b69f777d
    Kevin Wolf 提交于
    block_job_drain() contains a blk_drain() call which cannot be moved to
    Job, so add a new JobDriver callback JobDriver.drain which has a common
    implementation for all BlockJobs. In addition to this we keep the
    existing BlockJobDriver.drain callback that is called by the common
    drain implementation for all block jobs.
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    Reviewed-by: NMax Reitz <mreitz@redhat.com>
    b69f777d
job.c 14.5 KB