All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fernando Luis Vazquez Cao <fernando_b1@lab.ntt.co.jp>
To: Dave Chinner <david@fromorbit.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>, Ingo Molnar <mingo@redhat.com>,
	Jan Kara <jack@suse.cz>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] fsfreeze: tell hung_task about processes put to sleep
Date: Mon, 15 Oct 2012 15:51:34 +0900	[thread overview]
Message-ID: <507BB276.8020502@lab.ntt.co.jp> (raw)
In-Reply-To: <20121015063608.GW2739@dastard>

On 2012年10月15日 15:36, Dave Chinner wrote:
> On Mon, Oct 15, 2012 at 12:24:59PM +0900, Fernando Luis Vazquez Cao wrote:
>> On 2012/10/13 10:06, Dave Chinner wrote:
>>> On Fri, Oct 12, 2012 at 06:47:32PM +0900, Fernando Luis Vázquez Cao wrote:
>>>> Any process attempting to write to a frozen filesystem uninterruptibly and
>>>> unkillably waits for the filesystem to be thawed. This wait is of unbounded
>>>> length. Ignore such waits in the hung_task detector.
>>> Filesystems should not be frozen for long enough to trigger the hung
>>> task detector under normal usage. IMO, if you are freezing a
>>> filesystem for that long, then you're either doing something wrong
>>> or something has gone wrong, and in either case I think we should be
>>> emitting warnings...
>> The problem is that in production systems situations where
>> a filesystem remains brozen for long periods are not uncommon.
>> A typical example is as follows: the control daemon or script that
>> controls the freeze/thaw using the fsfreeze ioctls dies, the next
> There's your problem. Fix that, don't turn off useful warnings that
> indicate something has gone wrong.

It is not my problem. It is the enterprise distro's user's problem.

As I mentioned in my previous email if you want to emit a
warning do it in the right place and make sure that it is
something informative. hung_check certainly isn't the
right place to do it.

A failure in a user space script should not lead to a kernel
panic or to a flood of process stack dumps in the system log
administrators cannot interpret (a common complaint from
our customers). This is the behaviour this patch is trying to
fix.

Thanks,
Fernando
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-10-15  6:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-12  9:47 [PATCH] fsfreeze: tell hung_task about processes put to sleep Fernando Luis Vázquez Cao
2012-10-13  1:06 ` Dave Chinner
2012-10-15  3:24   ` Fernando Luis Vazquez Cao
2012-10-15  6:36     ` Dave Chinner
2012-10-15  6:51       ` Fernando Luis Vazquez Cao [this message]
2012-10-15 21:02         ` Dave Chinner
2012-10-16  2:30           ` Fernando Luis Vazquez Cao
2012-10-16  4:52             ` Dave Chinner

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=507BB276.8020502@lab.ntt.co.jp \
    --to=fernando_b1@lab.ntt.co.jp \
    --cc=david@fromorbit.com \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=viro@zeniv.linux.org.uk \
    /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.