Skip to content
  • Kevin Wolf's avatar
    b8804815
    mirror: Allow target that already has a BlockBackend · b8804815
    Kevin Wolf authored
    
    
    We had to forbid mirroring to a target BDS that already had a BB
    attached because the node swapping at job completion would add a second
    BB and we didn't support multiple BBs on a single BDS at the time. Now
    we do, so we can lift the restriction.
    
    As we allow additional BlockBackends for the target, we must expect
    other users to be sending requests. There may no requests be in flight
    during the graph modification, so we have to drain those users now.
    
    The core part of this patch is a revert of commit 40365552.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
    b8804815
    mirror: Allow target that already has a BlockBackend
    Kevin Wolf authored
    
    
    We had to forbid mirroring to a target BDS that already had a BB
    attached because the node swapping at job completion would add a second
    BB and we didn't support multiple BBs on a single BDS at the time. Now
    we do, so we can lift the restriction.
    
    As we allow additional BlockBackends for the target, we must expect
    other users to be sending requests. There may no requests be in flight
    during the graph modification, so we have to drain those users now.
    
    The core part of this patch is a revert of commit 40365552.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
Loading