Displaying 3 results from an estimated 3 matches for "a7365d1d1".
2018 May 16
3
[PATCH] tests: Increase appliance memory when testing 256+ disks.
Currently the tests fail on x86 with recent kernels:
FAIL: test-255-disks.sh
This confused me for a while because our other test program
(utils/max-disks/max-disks.pl) reports that it should be possible to
add 255 disks.
Well it turns out that the default amount of appliance memory is
sufficient if you're just adding disks, but if you try to add _and_
partition those disks there's
2018 May 16
0
[PATCH] tests: Increase appliance memory when testing 256+ disks.
---
tests/disks/test-add-disks.c | 9 +++++++++
utils/max-disks/max-disks.pl | 1 +
2 files changed, 10 insertions(+)
diff --git a/tests/disks/test-add-disks.c b/tests/disks/test-add-disks.c
index a7365d1d1..f3eb87bb4 100644
--- a/tests/disks/test-add-disks.c
+++ b/tests/disks/test-add-disks.c
@@ -98,6 +98,7 @@ main (int argc, char *argv[])
guestfs_h *g;
char *tmpdir;
ssize_t n = -1; /* -1: not set 0: max > 0: specific value */
+ int m;
g = guestfs_create ();
if (g == NULL)
@@ -...
2018 May 16
1
Re: [PATCH] tests: Increase appliance memory when testing 256+ disks.
On Wednesday, 16 May 2018 13:51:20 CEST Richard W.M. Jones wrote:
> ---
> tests/disks/test-add-disks.c | 9 +++++++++
> utils/max-disks/max-disks.pl | 1 +
> 2 files changed, 10 insertions(+)
>
> diff --git a/tests/disks/test-add-disks.c b/tests/disks/test-add-disks.c
> index a7365d1d1..f3eb87bb4 100644
> --- a/tests/disks/test-add-disks.c
> +++ b/tests/disks/test-add-disks.c
> @@ -98,6 +98,7 @@ main (int argc, char *argv[])
> guestfs_h *g;
> char *tmpdir;
> ssize_t n = -1; /* -1: not set 0: max > 0: specific value */
> + int m;
>
>...