On 2014-10-27 at 10:18, Peter Lieven wrote:
Copy the max_xfer_len from the BlockLimits VPD or use the
maximum value fitting in the CDB.

The helper function sector_limits_lun2qemu is introduced to convert
and cap the limits from the VPD to the maximum power of two fitting
in an integer; integer is the range for nb_sectors throughout
the block layer.

Signed-off-by: Peter Lieven <p...@kamp.de>
---
  block/iscsi.c |   17 +++++++++++++++--
  1 file changed, 15 insertions(+), 2 deletions(-)

Okay, I think finding the comment in the commit message through git blame is reasonable.

Reviewed-by: Max Reitz <mre...@redhat.com>

Reply via email to