Re: [RFC PATCH 2/2] Add timeout feature

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Takashi Sato
Date: Tuesday, April 1, 2008 - 3:54 am

Hi,

David Chinner wrote:

Exactly my timeout feature is only for an application, not for freeze_bdev().
I think it is needed for the situation we can't unfreeze from userspace.
(e.g. Freezing the root filesystem)


The timeout period specified to the reset ioctl should be much larger than
the interval for calling the reset ioctl repeatedly.
(e.g timeout period = 2 minutes, calling interval = 5 seconds)
The reset ioctl will work under such setting.
If a timeout still occurs before a reset, it would imply that an unexpected
problem (e.g. deadlock) occur in an application.

Cheers, Takashi 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 2/2] Add timeout feature, Takashi Sato, (Fri Mar 28, 2:07 am)
Re: [RFC PATCH 2/2] Add timeout feature, David Chinner, (Sun Mar 30, 5:00 pm)
Re: [RFC PATCH 2/2] Add timeout feature, Takashi Sato, (Tue Apr 1, 3:54 am)
Re: [RFC PATCH 2/2] Add timeout feature, David Chinner, (Tue Apr 1, 11:21 pm)
Re: [RFC PATCH 2/2] Add timeout feature, Takashi Sato, (Wed Apr 2, 5:16 am)