From: Kevin Wolf <kwolf@redhat.com>
To: Amos Kong <akong@redhat.com>
Cc: Lucas Meneghel Rodrigues <lmr@redhat.com>,
autotest@test.kernel.org, kvm@vger.kernel.org
Subject: Re: [PATCH] KVM-test: Add a ENOSPC subtest
Date: Fri, 14 Jan 2011 09:27:54 +0100 [thread overview]
Message-ID: <4D30090A.2070908@redhat.com> (raw)
In-Reply-To: <794340721.80981.1294982903006.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
Am 14.01.2011 06:28, schrieb Amos Kong:
> ----- Original Message -----
>> From: Amos Kong <akong@redhat.com>
>>
>> KVM guest always pauses on NOSPACE error, this test
>> just repeatedly extend guest disk space and resume guest
>> from paused status.
>>
>> Changes from v2:
>> - Oops! Forgot to update tests_base.cfg.sample
>>
>> Changes from v1:
>> - Use the most current KVM test API
>> - Use the autotest API for external commands execution
>> - Instead of chaining multiple shell commands as pre and
>> post commands, create proper pre and post scripts for the
>> test, as it is easier to figure out problems
>> - Instead of setting up /dev/loop0 hardcoded by default,
>> find the first available loop device before and use it.
>>
>> Signed-off-by: Amos Kong <akong@redhat.com>
>
> Thank you, Lucas
> I've retested this patch, it's ok.
>
> BTW, hi Kevin, when I check the images during this test, got the following output, is it harmful?
>
> Leaked cluster 60796 refcount=1 reference=0
> Leaked cluster 60797 refcount=1 reference=0
> Leaked cluster 60798 refcount=1 reference=0
> Leaked cluster 60799 refcount=1 reference=0
> Leaked cluster 60800 refcount=1 reference=0
> Leaked cluster 60801 refcount=1 reference=0
> Leaked cluster 60802 refcount=1 reference=0
> Leaked cluster 60803 refcount=1 reference=0
> Leaked cluster 60804 refcount=1 reference=0
> Leaked cluster 60805 refcount=1 reference=0
> Leaked cluster 60806 refcount=1 reference=0
> Leaked cluster 60807 refcount=1 reference=0
> Leaked cluster 63982 refcount=1 reference=0
> Leaked cluster 63983 refcount=1 reference=0
> Leaked cluster 63984 refcount=1 reference=0
> Leaked cluster 63985 refcount=1 reference=0
> Leaked cluster 63986 refcount=1 reference=0
> Leaked cluster 63987 refcount=1 reference=0
> Leaked cluster 63988 refcount=1 reference=0
> Leaked cluster 63989 refcount=1 reference=0
> Leaked cluster 63990 refcount=1 reference=0
> Leaked cluster 63991 refcount=1 reference=0
> Leaked cluster 63992 refcount=1 reference=0
> Leaked cluster 63993 refcount=1 reference=0
> Leaked cluster 63994 refcount=1 reference=0
> Leaked cluster 63995 refcount=1 reference=0
> Leaked cluster 63996 refcount=1 reference=0
> Leaked cluster 63997 refcount=1 reference=0
> Leaked cluster 63998 refcount=1 reference=0
> Leaked cluster 63999 refcount=1 reference=0
>
> 867 leaked clusters were found on the image.
> This means waste of disk space, but no harm to data.
I suppose the last two lines of the output answer your question. ;-)
With I/O errors or qemu/host crashes, cluster leaks are fully expected.
Kevin
next prev parent reply other threads:[~2011-01-14 8:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 21:46 [PATCH] KVM-test: Add a ENOSPC subtest Lucas Meneghel Rodrigues
2011-01-14 5:28 ` Amos Kong
2011-01-14 8:27 ` Kevin Wolf [this message]
2011-01-14 8:58 ` [PATCH] KVM-test: enospc.py: Fix device name of ide disk Amos Kong
-- strict thread matches above, loose matches on Subject: below --
2011-01-13 21:43 [PATCH] KVM-test: Add a ENOSPC subtest Lucas Meneghel Rodrigues
2011-01-12 11:45 Amos Kong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D30090A.2070908@redhat.com \
--to=kwolf@redhat.com \
--cc=akong@redhat.com \
--cc=autotest@test.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=lmr@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox