Re: [PATCH 3/3] Add timeout feature

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: jim owens
Date: Monday, September 29, 2008 - 3:08 pm

Eric Sandeen wrote:
 > Christoph Hellwig wrote:
 >> But why would the filesystem every unfreeze itself?  That defeats the
 >> whole point of freezing it.
 >
 > I agree.  Was just trying to clarify the above point.
 >
 > But there have been what, 12 submissions now, with the unfreeze timeout
 > in place so it's a persistent theme ;)
 >
 > Perhaps a demonstration of just how easy (or not easy) it is to deadlock
 > a filesystem by freezing the root might be in order, at least.
 >
 > And even if it is relatively easy, I still maintain that it is the
 > administrator's role to not inflict damage on the machine being
 > administered.  There are a lot of potentially dangerous tools at root's
 > disposal; why this particular one needs a nanny I'm still not quite sure.

Since this patch hit fsdev, there have been an equal number
of supporters and opponents of the timeout.

I'm not opposed to the timeout on the API, but I don't think
it is needed if we have a system configurable timeout (default
is no timeout) that can be changed by an admin.

My experience is that a timeout is not needed protect against
a stupid admin or against software bugs.

The justification for a timeout as far as I am concerned
is so the admin can log in and reset hung hardware.  If we
think there is no chance of forcing the external device that
went to sleep to respond so the system can continue to be used,
then I don't think a timeout has any valid use.

My timeout desire is based on some past SAN behavior and
I'm OK if people argue those devices should just be fixed.
But we argued the same thing and were ignored because bad
device behavior did not stop people from buying them.

jim
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/3] Add timeout feature, Takashi Sato, (Mon Sep 8, 4:53 am)
Re: [PATCH 3/3] Add timeout feature, Christoph Hellwig, (Mon Sep 8, 10:11 am)
Re: [PATCH 3/3] Add timeout feature, Ric Wheeler, (Thu Sep 25, 2:06 pm)
Re: [PATCH 3/3] Add timeout feature, Takashi Sato, (Fri Sep 26, 1:52 am)
Re: [PATCH 3/3] Add timeout feature, Ric Wheeler, (Fri Sep 26, 3:58 am)
Re: [PATCH 3/3] Add timeout feature, Valdis.Kletnieks, (Fri Sep 26, 5:35 am)
Re: [PATCH 3/3] Add timeout feature, Takashi Sato, (Mon Sep 29, 4:11 am)
Re: [PATCH 3/3] Add timeout feature, Christoph Hellwig, (Mon Sep 29, 7:13 am)
Re: [PATCH 3/3] Add timeout feature, Eric Sandeen, (Mon Sep 29, 7:36 am)
Re: [PATCH 3/3] Add timeout feature, Christoph Hellwig, (Mon Sep 29, 7:37 am)
Re: [PATCH 3/3] Add timeout feature, Eric Sandeen, (Mon Sep 29, 7:45 am)
Re: [PATCH 3/3] Add timeout feature, jim owens, (Mon Sep 29, 3:08 pm)
Re: [PATCH 3/3] Add timeout feature, Pavel Machek, (Sun Oct 5, 3:00 am)
Re: [PATCH 3/3] Add timeout feature, Takashi Sato, (Thu Oct 9, 3:12 am)
Re: [PATCH 3/3] Add timeout feature, Christoph Hellwig, (Thu Oct 9, 3:18 am)