On Tue, Aug 02, 2011 at 04:30:15PM +0000, David Holland wrote: > As opposed to link/unlink? I still don't see why this would be more > than a half-dozen lines of code, if that. By your previous > descriptions it already needs to stat the object to check if it's a > directory.
It is much more code, since it happens on the client, which sends filesystem operations to lower layers and regain control later using callbacks. Have a look to the sources (xlator/cluster/dht/dht-rename.c) and you will see why it is complex. -- Emmanuel Dreyfus m...@netbsd.org