[Qemu-devel] [PATCH 1.8 4/6] block/iscsi: set bdi-cluster_size

2013-11-25 Thread Peter Lieven
this patch aims to set bdi-cluster_size to the internal page size of the iscsi target so that enabled callers can align requests properly. Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/block/iscsi.c b/block/iscsi.c index

Re: [Qemu-devel] [PATCH 1.8 4/6] block/iscsi: set bdi-cluster_size

2013-11-25 Thread Paolo Bonzini
Il 25/11/2013 14:57, Peter Lieven ha scritto: +/* Guess the internal cluster (page) size of the iscsi target by the means + * of opt_unmap_gran. Transfer the unmap granularity only if it has a + * reasonable size for bdi-cluster_size */ +if (iscsilun-bl.opt_unmap_gran *

Re: [Qemu-devel] [PATCH 1.8 4/6] block/iscsi: set bdi-cluster_size

2013-11-25 Thread Paolo Bonzini
Il 25/11/2013 14:57, Peter Lieven ha scritto: this patch aims to set bdi-cluster_size to the internal page size of the iscsi target so that enabled callers can align requests properly. Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c |7 +++ 1 file changed, 7