diff options
| author | Paolo Bonzini | 2014-04-02 15:30:29 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-04-03 13:10:53 +0200 |
| commit | c97ca29db0a68deb281a901f535cec5ea4862244 (patch) | |
| tree | ff6f372f87d90b3c1d8a4945d3a7e46b1614faff /include | |
| parent | iscsi: ignore flushes on scsi-generic devices (diff) | |
| download | qemu-c97ca29db0a68deb281a901f535cec5ea4862244.tar.gz qemu-c97ca29db0a68deb281a901f535cec5ea4862244.tar.xz qemu-c97ca29db0a68deb281a901f535cec5ea4862244.zip | |
iscsi: always query max WRITE SAME length
Max WRITE SAME length is also used when the UNMAP bit is zero, so it
should be queried even if LBPWS=0. Same for the optimal transfer
length.
However, the write_zeroes_alignment only matters for UNMAP=1 so we
still restrict it to LBPWS=1.
Reviewed-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
