]> git.proxmox.com Git - mirror_qemu.git/commit - qapi/block-export.json
fuse: Allow growable exports
authorMax Reitz <mreitz@redhat.com>
Tue, 27 Oct 2020 19:05:44 +0000 (20:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Dec 2020 16:52:40 +0000 (17:52 +0100)
commit4fba06d5941e74169a6d33bcfd09093a49dd311f
tree0cfff0def1e32a62dbdd94a4bfb30e1b4c8b30df
parent41429e3d79c331503a87ec23b5da3cc1440a73fa
fuse: Allow growable exports

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: Max Reitz <mreitz@redhat.com>
Message-Id: <20201027190600.192171-5-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/export/fuse.c
qapi/block-export.json