]> git.proxmox.com Git - mirror_qemu.git/commit
sheepdog: add full data preallocation support
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Tue, 5 Jul 2011 18:38:48 +0000 (03:38 +0900)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 Jul 2011 14:06:26 +0000 (16:06 +0200)
commita8e0fdd71596631141e8ad3947b115cf8dd3b681
tree7286d4e266d401dc291db0a328754976a075c9ff
parent89b9ba661bd2d6155308f895ec075d813f0e129b
sheepdog: add full data preallocation support

This introduces qemu-img create option for sheepdog which allows the
data to be fully preallocated (note that sheepdog always preallocates
metadata).

The option is disabled by default and you need to enable it like the
following:

qemu-img create sheepdog:test -o preallocation=full 1G

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/sheepdog.c