LUKS: support preallocation
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 16 Jul 2019 16:19:01 +0000 (19:19 +0300)
committerMax Reitz <mreitz@redhat.com>
Mon, 19 Aug 2019 15:13:26 +0000 (17:13 +0200)
commit672de729a1f93d84e7597652b1125ab5d62421d8
treeb14e47186208d27681bdda241dea1be4df680a1c
parent3fbd3405d2b0604ea530fc7a1828f19da1e95ff9
LUKS: support preallocation

preallocation=off and preallocation=metadata
both allocate luks header only, and preallocation=falloc/full
is passed to underlying file.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1534951
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-id: 20190716161901.1430-1-mlevitsk@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/crypto.c
qapi/block-core.json