[Top] [All Lists]

Re: [PATCH 7/8] xfstests: add a new test that runs fsstress under ENOSPC

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 7/8] xfstests: add a new test that runs fsstress under ENOSPC conditions
From: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
Date: Thu, 03 Nov 2011 00:36:36 +0400
Cc: linux-fsdevel@xxxxxxxxxxxxxxx, aelder@xxxxxxx, hch@xxxxxx, xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=YZN8P/gBJ+hFaEgPcx3qYVMTznt2+APK401oteAqB/A=; b=QVtBgVscyYU3NYUyevy9db4R4Etov9YR9fA/8J6t5jFkKTNldYOh7xl2A+t+Quhxc2 T8dKyb2AtPGG2gU5P56FMJhF2Vfdt/mD59pm6J8Wwv3dSJ8OGivzCJ/owySxt5ahjNFr tKsIqaHuya7fTI4IQs17T0UG2NM/h2ofBpF3w=
In-reply-to: <20111102195357.GA22500@xxxxxxxxxxxxx>
References: <1319849297-3506-1-git-send-email-dmonakhov@xxxxxxxxxx> <1319849297-3506-8-git-send-email-dmonakhov@xxxxxxxxxx> <20111102195357.GA22500@xxxxxxxxxxxxx>
Sender: Dmitry Monakhov <rjevskiy@xxxxxxxxx>
User-agent: Notmuch/0.5-69-g3e4a9d6 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu)
On Wed, 2 Nov 2011 15:53:58 -0400, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Sat, Oct 29, 2011 at 04:48:16AM +0400, Dmitry Monakhov wrote:
> > During stress testing we want to cover as much code paths as possible
> > fsstress is very good for this purpose. But it has expandable nature
> > (disk usage almost continually grow). So once it goes in no ENOSPC
> > condition it will be where till the end. But by running 'dd' writers
> > in parallel we can regularly trigger ENOSPC but only for a limited
> > periods of time because each time it opens the same file with O_TRUNC.
> This fails for me on XFS because the fsstress process has already
> finished by the time you try to kill it:
> --- 266.out   2011-11-02 19:46:27.000000000 +0000
> +++ 266.out.bad       2011-11-02 19:48:33.000000000 +0000
> @@ -3,3 +3,4 @@
>  Run fsstress
>  Run dd writers in parallel
> +./266: line 60: kill: (3403) - No such process
Strange... this means that parent process died unexpectedly.
Works fine fore me. In my case this happen once due to unknown
options(new opt " -fsetattr=1" passed to fsstress explicitly) because i've
forget to rebuilt fsstress via make. Can you please explicitly rebuild,
and check one more time to be 100% sure.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevecalll" 
> in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>