diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-09-27 13:53:38 +0100 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2017-10-06 16:30:47 +0200 |
commit | a73466fbad6d48ba356940474cd72da602373304 (patch) | |
tree | 4ac1b3a111b8aa782aeef0609049ae7e4af94e47 /crypto/blockpriv.h | |
parent | 31376555c7b447afb1bf9084eacbb8f566ff6b9d (diff) |
block: convert crypto driver to bdrv_co_preadv|pwritev
Make the crypto driver implement the bdrv_co_preadv|pwritev
callbacks, and also use bdrv_co_preadv|pwritev for I/O
with the protocol driver beneath. This replaces sector based
I/O with byte based I/O, and allows us to stop assuming the
physical sector size matches the encryption sector size.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170927125340.12360-5-berrange@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'crypto/blockpriv.h')
0 files changed, 0 insertions, 0 deletions