gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Fixing dht rename of directory symlink


From: Emmanuel Dreyfus
Subject: Re: [Gluster-devel] Fixing dht rename of directory symlink
Date: Tue, 2 Aug 2011 09:08:38 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Jul 31, 2011 at 05:56:42PM +0530, Anand Avati wrote:
> Your summary is accurate. Currently distribute assumes link(2)ability of
> non-directories to provide POSIX semantics that the destination path should
> always be accessible if a file already existed at the time of rename(2).

It seems this has been adressed by standards:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/link.html

The bottom line is just to use lnkat(2) instead of link(2). I will 
implement linkat support in NetBSD

-- 
Emmanuel Dreyfus
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]