diff options
author | Peter Lieven <pl@kamp.de> | 2014-04-28 13:23:25 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-04-28 15:04:17 +0200 |
commit | dbe5c58f2a44f49572b3346400779fac818fcaea (patch) | |
tree | 59f4dd4f411038eafcd3e6095cc4511098af1162 /ui/input-keymap.c | |
parent | d383c625e219b3f53651e1f64c88f3fa30348af7 (diff) | |
download | hqemu-dbe5c58f2a44f49572b3346400779fac818fcaea.zip hqemu-dbe5c58f2a44f49572b3346400779fac818fcaea.tar.gz |
block/iscsi: allow fall back to WRITE SAME without UNMAP
if the iscsi driver receives a write zeroes request with
the BDRV_REQ_MAY_UNMAP flag set it fails with -ENOTSUP
if the iscsi target does not support WRITE SAME with
UNMAP. However, the BDRV_REQ_MAY_UNMAP is only a hint
and writing zeroes with WRITE SAME will still be
better than falling back to writing zeroes with WRITE16.
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/input-keymap.c')
0 files changed, 0 insertions, 0 deletions