On 09/12/2017 06:28 AM, Daniel P. Berrange wrote: > While current encryption schemes all have a fixed sector size of > 512 bytes, this is not guaranteed to be the case in future. Expose > the sector size in the APIs so the block layer can remove assumptions > about fixed 512 byte sectors. > > Signed-off-by: Daniel P. Berrange <berra...@redhat.com> > --- > crypto/block-luks.c | 6 ++++-- > crypto/block-qcow.c | 1 + > crypto/block.c | 6 ++++++ > crypto/blockpriv.h | 1 + > include/crypto/block.h | 15 +++++++++++++++ > 5 files changed, 27 insertions(+), 2 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature