]> Git Repo - qemu.git/commit
iscsi: always query max WRITE SAME length
authorPaolo Bonzini <[email protected]>
Wed, 2 Apr 2014 13:30:29 +0000 (15:30 +0200)
committerPaolo Bonzini <[email protected]>
Thu, 3 Apr 2014 11:10:53 +0000 (13:10 +0200)
commitc97ca29db0a68deb281a901f535cec5ea4862244
treeff6f372f87d90b3c1d8a4945d3a7e46b1614faff
parentb2f9c08a4f11f16ec101e95feab8e71d7cfcfee9
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
block/iscsi.c
This page took 0.025155 seconds and 4 git commands to generate.