diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-11-22 13:39:54 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-12-03 15:26:49 +0100 |
commit | fa6252b0565526ec2347e248172f91771e0d9f47 (patch) | |
tree | 5a2246ee877eec0a6d5f458605b9621391b38a2b /block/raw-posix.c | |
parent | 2af8a1a704a352bab2e9eaf803db0b3552e826d0 (diff) |
block/iscsi: check WRITE SAME support differently depending on MAY_UNMAP
The current check is right for MAY_UNMAP=1. For MAY_UNMAP=0, just
try and fall back to regular writes as soon as a WRITE SAME command
fails.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/raw-posix.c')
0 files changed, 0 insertions, 0 deletions