* Andre Oppermann <[EMAIL PROTECTED]> [010206 12:33] wrote:
> Alfred Perlstein wrote:
> > 
> > * Andre Oppermann <[EMAIL PROTECTED]> [010206 12:07] wrote:
> > >
> > > Yes, my understanding of the meaning of "ordered meta-date update" as
> > > I have grasped it from Terry's rants in the past years is not that all
> > > meta-data updates on a filesystem have to be done one-after-the-other
> > > but ordered in respect to each other; That a link() happens before a
> > > unlink() on the same file. Does this make sense?
> > 
> > Only when done by a single process or something waits for the link
> > to complete before starting the unlink.  If two processes "race"
> > to link and unlink then no.
> 
> It is just one process waiting for the link() to complete. And then
> unlink(). After completion a IPC signal is send to another process
> to pick the file up and continue processing.

Basically, you want a fsync right before the IPC.  This should
bring the metadata up to date with what's in-core and you should
then be safe when you reply with your 250 accepted message.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


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

Reply via email to