Peter Lieven 9281fe9eea 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>
2014-06-18 08:47:10 +02:00
..
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-02-25 10:50:11 +00:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-04-01 15:22:35 +02:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-03-25 14:09:50 +01:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00