Skip to content
  • Kevin Wolf's avatar
    66a0fae4
    blockjob: Don't touch BDS iostatus · 66a0fae4
    Kevin Wolf authored
    
    
    Block jobs don't actually make use of the iostatus for their BDSes, but
    they manage a separate block job iostatus. Still, they require that it
    is enabled for the source BDS and they enable it automatically for the
    target and set the error handling mode - which ends up never being used
    by the job.
    
    This patch removes all of the BDS iostatus handling from the block job,
    which removes another few bs->blk accesses.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
    66a0fae4
    blockjob: Don't touch BDS iostatus
    Kevin Wolf authored
    
    
    Block jobs don't actually make use of the iostatus for their BDSes, but
    they manage a separate block job iostatus. Still, they require that it
    is enabled for the source BDS and they enable it automatically for the
    target and set the error handling mode - which ends up never being used
    by the job.
    
    This patch removes all of the BDS iostatus handling from the block job,
    which removes another few bs->blk accesses.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
Loading