Skip to content
  • Kevin Wolf's avatar
    d861ab3a
    block: Add BlockBackend.ctx · d861ab3a
    Kevin Wolf authored
    
    
    This adds a new parameter to blk_new() which requires its callers to
    declare from which AioContext this BlockBackend is going to be used (or
    the locks of which AioContext need to be taken anyway).
    
    The given context is only stored and kept up to date when changing
    AioContexts. Actually applying the stored AioContext to the root node
    is saved for another commit.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    d861ab3a
    block: Add BlockBackend.ctx
    Kevin Wolf authored
    
    
    This adds a new parameter to blk_new() which requires its callers to
    declare from which AioContext this BlockBackend is going to be used (or
    the locks of which AioContext need to be taken anyway).
    
    The given context is only stored and kept up to date when changing
    AioContexts. Actually applying the stored AioContext to the root node
    is saved for another commit.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading