lkml.org 
[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Journaling: Surviving or allowing unclean shutdown?
On Wed, Jan 03, 2001 at 01:26:18PM -0200, Rik van Riel wrote:
> On Wed, 3 Jan 2001, Dr. David Gilbert wrote:
>
> > I got wondering as to whether the various journaling file
> > system activities were designed to survive the occasional
> > unclean shutdown or were designed to allow the user to just pull
> > the plug as a regular means of shutting down.
>
> > Thoughts?
>
> 1. a journaling filesystem is designed to be "consistent"
> (or rather, easily recoverable) all of the time

The file system metadata is, but it has no idea if the application's data is
consistent or not.

Also when you listen to tytso's tales of certain cheap IDE disks writing crap
when they and the system are powered off during a write you should probably
better not turn off the system running when not absolutely needed.

If the system was designed for situation (2) you would probably only
use applications that do their own log (or some other disk consistency
technique). That does not seem to be the case currently.
Also when unclean shutdown was very common you also be probably better
of with a complete log structured fs that does not need to replay
on mount.


-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.161 / U:0.308 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site