aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-04-02 15:30:29 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-04-03 13:10:53 +0200
commitc97ca29db0a68deb281a901f535cec5ea4862244 (patch)
treeff6f372f87d90b3c1d8a4945d3a7e46b1614faff /nbd.c
parentb2f9c08a4f11f16ec101e95feab8e71d7cfcfee9 (diff)
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 'nbd.c')
0 files changed, 0 insertions, 0 deletions