Coda File System

Re: R: Coda + qmail (i.e. maildir)

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 19 Jul 2001 10:13:53 -0400
On Thu, Jul 19, 2001 at 03:55:02PM +0200, Andrea Cerrito wrote:
> > Don't really know how to optimize this. A lot of this overhead could be
> > a result of the way directories are currently manipulated (allocate VM/
> > copy to VM/ modify/ copy back to RVM). But I could be wrong as I haven't
> > actually profiled any clients or servers.
> 
> Well, I don't know, but the simpliest way is to not try to make the link and
> just then use the rename. It saves a lot of work (and errors too)!

Any attempt to perform a cross directory link is already detected by the
client, so no RPC calls to the server are needed to return the error.
The overhead of the rejected link attempt should be pretty much the cost
of context switching to venus and back to the application that tried the
link.

Jan
Received on 2001-07-19 10:15:15