block/iscsi: allow cluster_size of 4K and greater
commit3d2acaa308bfab65329ef983654b302899bfb2b0
authorPeter Lieven <pl@kamp.de>
Mon, 28 Apr 2014 15:18:32 +0000 (28 17:18 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Apr 2014 09:15:01 +0000 (29 11:15 +0200)
tree83f433e25ec0aba8e1a183151c4d63b8b1e2e296
parent5917af812e9c4bd6500927b26efe8d3e2f267bd0
block/iscsi: allow cluster_size of 4K and greater

depending on the target the opt_unmap_gran might be as low
as 4K. As we know use this also as a knob to activate the allocationmap
feature lower the barrier. The limit 4K (and not 512) is choosen
to avoid a potentially too big allocationmap.

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/iscsi.c