Subject: Re: FFS reliability problems
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 05/17/2002 20:27:40
On Thu, May 16, 2002 at 07:18:46PM -0400, der Mouse wrote:
> > A file with refcount==0 has to be cleared, not reconnected.
>
> Why does it "[have] to be" cleared rather than being reconnected?
Because it mean it was unlinked.
>
> > If was not present in the filesystem tree at the time of the crash,
> > it just happended to be still open after being deleted.
>
> Well, after the last filesystem link to it being destroyed. Yes, but
> that's not to say that its contents aren't valuable, or that it has to
> be cleared rather than being reconnected (and its link count fixed).
If it was deleted, why would someone want to recover it after a crash ?
If the machine didn't crash, this file would never have been seen again.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--