[OpenAFS-devel] --fast-restart?

Jeffrey Hutzelman jhutz@cmu.edu
Wed, 31 Aug 2005 12:28:38 -0400


On Wednesday, August 31, 2005 11:25:32 -0400 chas williams - CONTRACTOR 
<chas@cmf.nrl.navy.mil> wrote:

> In message <5F83B456E2EA624B7C6D1EF8@sirius.fac.cs.cmu.edu>,Jeffrey
> Hutzelman w rites:
>> doesn't exist, or if there's an error accessing the underlying file, or
>> a  problem accessing a directory, or whatever.  It doesn't do it just
>> because  the volume wasn't detached cleanly by the last server.
>
> ok.  so why does the fileserver always need to set the inUse bit on every
> volume?  if no one accesses a volume on a server the volume hasnt been
> modified.  if the nUsers of a volume drops to 0 perhaps the inUse bit for
> a volume could be set to 0 on disk.  this is only useful on a journaled
> filesystem i guess.  during restarts, only volumes that were actually
> inUse during the fileserver failure would be marked as needing salvaged.

Well, it's also useful across a crash of the fileserver process.  And I 
agree that something on this order is probably a good idea.