[Qemu-devel] [PATCH v2 0/4] block: improve luks driver perf & switch to byte APIs

Daniel P. Berrange posted 4 patches 8 years, 2 months ago
Failed in applying to current master (apply log)
Test FreeBSD passed
Test checkpatch passed
Test docker passed
Test s390x passed
block/crypto.c         | 119 +++++++++++++++++++++++++------------------------
block/qcow.c           |   7 ++-
block/qcow2-cluster.c  |   8 ++--
block/qcow2.c          |   4 +-
crypto/block-luks.c    |  12 +++--
crypto/block-qcow.c    |  12 +++--
crypto/block.c         |  14 +++---
crypto/blockpriv.h     |   4 +-
include/crypto/block.h |  14 +++---
9 files changed, 104 insertions(+), 90 deletions(-)
[Qemu-devel] [PATCH v2 0/4] block: improve luks driver perf & switch to byte APIs
Posted by Daniel P. Berrange 8 years, 2 months ago
This series includes a previously posted patch that improves performance
of the luks crypto driver:

  https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg00781.html

And then adds three patches that switch over to use byte based APIs for
I/O, rather than the legacy sector based APIs.

Daniel P. Berrange (4):
  block: use 1 MB bounce buffers for crypto instead of 16KB
  block: use BDRV_SECTOR_SIZE in crypto driver
  block: convert crypto driver to bdrv_co_preadv|pwritev
  block: convert qcrypto_block_encrypt|decrypt to take bytes offset

 block/crypto.c         | 119 +++++++++++++++++++++++++------------------------
 block/qcow.c           |   7 ++-
 block/qcow2-cluster.c  |   8 ++--
 block/qcow2.c          |   4 +-
 crypto/block-luks.c    |  12 +++--
 crypto/block-qcow.c    |  12 +++--
 crypto/block.c         |  14 +++---
 crypto/blockpriv.h     |   4 +-
 include/crypto/block.h |  14 +++---
 9 files changed, 104 insertions(+), 90 deletions(-)

-- 
2.13.5