diff options
| author | Peter Lieven | 2014-06-04 15:47:39 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-06-18 08:47:10 +0200 |
| commit | 9281fe9eea5c9e5037fbf4fb75c5dc8f6e1a24a3 (patch) | |
| tree | 5b83c432e9b95a11997844cdae315a78d3d79e0e /include/block | |
| parent | block/iscsi: fix potential segfault on early callback (diff) | |
| download | qemu-9281fe9eea5c9e5037fbf4fb75c5dc8f6e1a24a3.tar.gz qemu-9281fe9eea5c9e5037fbf4fb75c5dc8f6e1a24a3.tar.xz qemu-9281fe9eea5c9e5037fbf4fb75c5dc8f6e1a24a3.zip | |
block/iscsi: use 16 byte CDBs only when necessary
this patch changes the driver to uses 16 Byte CDBs for
READ/WRITE only if the target requires 64bit lba addressing.
On one hand this saves 6 bytes in each PDU on the other
hand it seems that 10 Byte CDBs seems to be much better
supported and tested as a recent issue I had with a
major storage supplier lined out.
For WRITESAME the logic is a bit more tricky as WRITESAME10
with UNMAP was added really late. Thus a fallback to WRITESAME16
is possible if it supports UNMAP and WRITESAME10 not.
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions
