From: Dmitry Monakhov <dmonakhov@openvz.org>
To: aelder@sgi.com
Cc: xfs@oss.sgi.com, linux-ext4@vger.kernel.org,
linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 1/2] xfstest: fsstress should kill children tasks before exit
Date: Wed, 05 Oct 2011 17:41:13 +0400 [thread overview]
Message-ID: <87zkhf369y.fsf@dmbot.sw.ru> (raw)
In-Reply-To: <1317820838.2226.11.camel@doink>
On Wed, 5 Oct 2011 08:20:38 -0500, Alex Elder <aelder@sgi.com> wrote:
> On Sun, 2011-09-18 at 18:54 +0400, Dmitry Monakhov wrote:
> > It is very hard to predict runtime for fsstress. In many cases it
> > is useful to give test to run a reasonable time, and then kill it.
> > But currently there is no reliable way to kill test without leaving
> > running children.
> > This patch add sanity cleanup logic which looks follow:
> > - On sigterm received by parent, it resend signal to it's children
> > - Wait for each child to terminates
> > - EXTRA_SANITY: Even if parent was killed by other signal, children
> > will be terminated with SIGKILL to preven staled children.
> >
> > So now one can simply run fsstress like this:
> > ./fsstress -p 1000 -n999999999 -d $TEST_DIR &
> > PID=$!
> > sleep 300
> > kill $PID
> > wait $PID
> >
> > Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
>
> I think this is an interesting change and it looks
> OK to me. I agree with Christoph's suggestion (on
> the second patch in this series) that it would be
> nice to have at least one of the tests make use of
> it, if nothing else just to document that it's a
> reasonable thing to do.
>
> But even without that I think this is both useful
> and harmless.
>
> Reviewed-by: Alex Elder <aelder@sgi.com>
Ok i'll resend patch shortly, Actually test_case was explained inside
description. So far i've able to caught 3 different minor
fs-corruptions, one BUG_ON on ext4. And when i've run this test
on host with 24-cores it deadlock inside dcache core.
>
>
WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Monakhov <dmonakhov@openvz.org>
To: aelder@sgi.com
Cc: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org,
xfs@oss.sgi.com
Subject: Re: [PATCH 1/2] xfstest: fsstress should kill children tasks before exit
Date: Wed, 05 Oct 2011 17:41:13 +0400 [thread overview]
Message-ID: <87zkhf369y.fsf@dmbot.sw.ru> (raw)
In-Reply-To: <1317820838.2226.11.camel@doink>
On Wed, 5 Oct 2011 08:20:38 -0500, Alex Elder <aelder@sgi.com> wrote:
> On Sun, 2011-09-18 at 18:54 +0400, Dmitry Monakhov wrote:
> > It is very hard to predict runtime for fsstress. In many cases it
> > is useful to give test to run a reasonable time, and then kill it.
> > But currently there is no reliable way to kill test without leaving
> > running children.
> > This patch add sanity cleanup logic which looks follow:
> > - On sigterm received by parent, it resend signal to it's children
> > - Wait for each child to terminates
> > - EXTRA_SANITY: Even if parent was killed by other signal, children
> > will be terminated with SIGKILL to preven staled children.
> >
> > So now one can simply run fsstress like this:
> > ./fsstress -p 1000 -n999999999 -d $TEST_DIR &
> > PID=$!
> > sleep 300
> > kill $PID
> > wait $PID
> >
> > Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
>
> I think this is an interesting change and it looks
> OK to me. I agree with Christoph's suggestion (on
> the second patch in this series) that it would be
> nice to have at least one of the tests make use of
> it, if nothing else just to document that it's a
> reasonable thing to do.
>
> But even without that I think this is both useful
> and harmless.
>
> Reviewed-by: Alex Elder <aelder@sgi.com>
Ok i'll resend patch shortly, Actually test_case was explained inside
description. So far i've able to caught 3 different minor
fs-corruptions, one BUG_ON on ext4. And when i've run this test
on host with 24-cores it deadlock inside dcache core.
>
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2011-10-05 13:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-18 14:54 [PATCH 1/2] xfstest: fsstress should kill children tasks before exit Dmitry Monakhov
2011-09-18 14:54 ` Dmitry Monakhov
2011-09-18 14:54 ` [PATCH 2/2] xfstest: fsstress add EXT2_IOC_{SET,GET}FLAGS operations Dmitry Monakhov
2011-09-18 14:54 ` Dmitry Monakhov
2011-09-18 20:03 ` Christoph Hellwig
2011-09-18 20:03 ` Christoph Hellwig
2011-10-05 13:20 ` Alex Elder
2011-10-05 13:20 ` Alex Elder
2011-10-06 9:21 ` Dmitry Monakhov
2011-10-06 9:21 ` [PATCH 2/2] xfstest: fsstress add EXT2_IOC_{SET, GET}FLAGS operations Dmitry Monakhov
2011-10-19 9:28 ` Christoph Hellwig
2011-10-19 9:28 ` Christoph Hellwig
2011-10-19 10:48 ` Dmitry Monakhov
2011-10-19 10:48 ` Dmitry Monakhov
2011-10-06 19:52 ` [PATCH 2/2] xfstest: fsstress add EXT2_IOC_{SET,GET}FLAGS operations Christoph Hellwig
2011-10-06 19:52 ` Christoph Hellwig
2011-10-05 13:20 ` [PATCH 1/2] xfstest: fsstress should kill children tasks before exit Alex Elder
2011-10-05 13:20 ` Alex Elder
2011-10-05 13:41 ` Dmitry Monakhov [this message]
2011-10-05 13:41 ` Dmitry Monakhov
2011-10-06 19:51 ` Christoph Hellwig
2011-10-06 19:51 ` Christoph Hellwig
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=87zkhf369y.fsf@dmbot.sw.ru \
--to=dmonakhov@openvz.org \
--cc=aelder@sgi.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=xfs@oss.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.