Skip to content
  • Kevin Wolf's avatar
    30a5c887
    job: Move progress fields to Job · 30a5c887
    Kevin Wolf authored
    
    
    BlockJob has fields .offset and .len, which are actually misnomers today
    because they are no longer tied to block device sizes, but just progress
    counters. As such they make a lot of sense in generic Jobs.
    
    This patch moves the fields to Job and renames them to .progress_current
    and .progress_total to describe their function better.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
    30a5c887
    job: Move progress fields to Job
    Kevin Wolf authored
    
    
    BlockJob has fields .offset and .len, which are actually misnomers today
    because they are no longer tied to block device sizes, but just progress
    counters. As such they make a lot of sense in generic Jobs.
    
    This patch moves the fields to Job and renames them to .progress_current
    and .progress_total to describe their function better.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
Loading