On Tue, 6 Feb 2001, Andre Oppermann wrote:
> Rik van Riel wrote:
> > On Tue, 6 Feb 2001, Andre Oppermann wrote:
> > 
> > > But please answer me one question: Is the link() call atomically
> > > in FFS/UFS w or w/o softupdates? Meaning when the call returns
> > > the meta- data is written to stable storage like with fsync()?
> > 
> > Since when does `atomic' equal `synchronous' ?
> 
> Because otherwise it would not be atomically, would it?

Could you explain to me _why_ you think this is the case ?

AFAIK the atomicity means that link() creates the new directory
entry and increases the inode usage count atomically, so the
programs running on the system never get to see an inconsistent
state (and to prevent against an unlink() running while the link()
is "in progress").

regards,

Rik
--
Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml

Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

                http://www.surriel.com/
http://www.conectiva.com/       http://distro.conectiva.com/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to