qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v4 16/20] hbitmap: truncate tests


From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [PATCH v4 16/20] hbitmap: truncate tests
Date: Thu, 2 Apr 2015 14:43:15 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Mar 20, 2015 at 03:16:59PM -0400, John Snow wrote:
> The general approach is to set bits close to the boundaries of
> where we are truncating and ensure that everything appears to
> have gone OK.
> 
> We test growing and shrinking by different amounts:
> - Less than the granularity
> - Less than the granularity, but across a boundary
> - Less than sizeof(unsigned long)
> - Less than sizeof(unsigned long), but across a ulong boundary
> - More than sizeof(unsigned long)
> 
> Signed-off-by: John Snow <address@hidden>
> Reviewed-by: Max Reitz <address@hidden>
> ---
>  tests/test-hbitmap.c | 255 
> +++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 255 insertions(+)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: pgpjKn7BFiFps.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]