Skip to content
  • Hanna Reitz's avatar
    4fba06d5
    fuse: Allow growable exports · 4fba06d5
    Hanna Reitz authored
    
    
    These will behave more like normal files in that writes beyond the EOF
    will automatically grow the export size.
    
    As an optimization, keep the RESIZE permission for growable exports so
    we do not have to take it for every post-EOF write.  (This permission is
    not released when the export is destroyed, because at that point the
    BlockBackend is destroyed altogether anyway.)
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Message-Id: <20201027190600.192171-5-mreitz@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    4fba06d5
    fuse: Allow growable exports
    Hanna Reitz authored
    
    
    These will behave more like normal files in that writes beyond the EOF
    will automatically grow the export size.
    
    As an optimization, keep the RESIZE permission for growable exports so
    we do not have to take it for every post-EOF write.  (This permission is
    not released when the export is destroyed, because at that point the
    BlockBackend is destroyed altogether anyway.)
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Message-Id: <20201027190600.192171-5-mreitz@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading