• K
    job: Create Job, JobDriver and job_create() · 33e9e9bd
    Kevin Wolf 提交于
    This is the first step towards creating an infrastructure for generic
    background jobs that aren't tied to a block device. For now, Job only
    stores its ID and JobDriver, the rest stays in BlockJob.
    
    The following patches will move over more parts of BlockJob to Job if
    they are meaningful outside the context of a block job.
    
    BlockJob.driver is now redundant, but this patch leaves it around to
    avoid unnecessary churn. The next patches will get rid of almost all of
    its uses anyway so that it can be removed later with much less churn.
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    Reviewed-by: NMax Reitz <mreitz@redhat.com>
    Reviewed-by: NJohn Snow <jsnow@redhat.com>
    33e9e9bd
mirror.c 43.9 KB