Re: [Qemu-devel] [PATCHv2 06/20] block: add discard and write_zeroes limits and alignment to BlockDriverState

2013-09-19 Thread Peter Lieven
Am 19.09.2013 20:53, schrieb Eric Blake: > On 09/17/2013 07:48 AM, Peter Lieven wrote: >> Signed-off-by: Peter Lieven >> --- >> include/block/block_int.h | 12 >> 1 file changed, 12 insertions(+) > Reviewed-by: Eric Blake > >> + >> +/* optimal alignment for write zeroes reques

Re: [Qemu-devel] [PATCHv2 06/20] block: add discard and write_zeroes limits and alignment to BlockDriverState

2013-09-19 Thread Eric Blake
On 09/17/2013 07:48 AM, Peter Lieven wrote: > Signed-off-by: Peter Lieven > --- > include/block/block_int.h | 12 > 1 file changed, 12 insertions(+) Reviewed-by: Eric Blake > + > +/* optimal alignment for write zeroes requests in sectors */ > +int64_t write_zeroes_alignm

[Qemu-devel] [PATCHv2 06/20] block: add discard and write_zeroes limits and alignment to BlockDriverState

2013-09-17 Thread Peter Lieven
Signed-off-by: Peter Lieven --- include/block/block_int.h | 12 1 file changed, 12 insertions(+) diff --git a/include/block/block_int.h b/include/block/block_int.h index 85c3474..692b9ed 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -280,6 +280,18 @@ st