commit | 27898a5daa4c6d28adb32b401a011d7198494482 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Apr 02 12:12:50 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Apr 03 13:10:32 2014 +0200 |
tree | efa46d077088be6a0b87fcd8518c0d3be0ae51c5 | |
parent | d581eb7ca4b58649ade5fb7570ecf6b4b9a41879 [diff] |
iscsi: recognize "invalid field" ASCQ from WRITE SAME command Some targets may return "invalid field" as the ASCQ from WRITE SAME if they support the command only without the UNMAP field. Recognize that, and return ENOTSUP just like for "invalid operation code". Reviewed-by: Peter Lieven <pl@kamp.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>