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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Chinner
Date: Tuesday, April 1, 2008 - 11:21 pm

On Tue, Apr 01, 2008 at 07:54:42PM +0900, Takashi Sato wrote:

Ummm - why can't you unfreeze the root fs from userspace? freezing
only prevents modification to the filesystem. A frozen filesystem is
effectively a read-only filesystem...

On XFS:

# xfs_freeze -f /
# echo $?
0
# xfs_freeze -u /
# echo $?
0

The underlying filesystem is broken w.r.t. freezing if you can't
read from it successfully once it's been frozen....


What application developer will ever use this?


Right - the application is broken and needs fixing.  We don't need
to supply a crutch in a "new" API to support hypothetically broken
applications that don't actually exist yet.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group
--
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)