Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-14 Thread David Soria Parra
On Sun, Mar 12, 2017 at 01:23:56AM -0800, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1489309403 28800 > # Sun Mar 12 01:03:23 2017 -0800 > # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd > # Parent de28b62236a7d47a896bc4aba2bd95dcd8defc87 > # Available At https://bitbuc

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Jun Wu
Excerpts from Mads Kiilerich's message of 2017-03-12 11:48:35 -0700: > I only see mentioning of problems with Windows on the client side. > Matt's theory of the source of the cache coherency issue suggested that > it was interaction between client and server side caches. Non-windows > client sid

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 11:48, Mads Kiilerich wrote: > > That might of course be because most users of repos on CIFS are Windows > users. The problem is serious when it happens, but considering the > non-Windows uncertainty, the small amount of non-Windows users using CIFS > repos, and the nega

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Mads Kiilerich
On 03/12/2017 11:03 AM, Augie Fackler wrote: On Sun, Mar 12, 2017 at 11:00:05AM -0700, Mads Kiilerich wrote: On 03/12/2017 01:23 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1489309403 28800 # Sun Mar 12 01:03:23 2017 -0800 # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 11:27, Jun Wu wrote: > > Modern filesystems will have new features outside POSIX. For example, if > btrfs becomes more popular, we may have fancy transaction support. APFS (Apple's new shiny) has interesting cheap COW directory copy support that we might want to use as we

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Jun Wu
Excerpts from Augie Fackler's message of 2017-03-12 14:03:44 -0400: > It's actually believed the problem is in the Windows CIFS *server*, if > you read the bug attached to the previous change. > > I'm hesitant to turn on hardlinks at all because of the way problems > manifest (unrecoverable data c

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 11:00:05AM -0700, Mads Kiilerich wrote: > On 03/12/2017 01:23 AM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1489309403 28800 > > # Sun Mar 12 01:03:23 2017 -0800 > > # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd > > # Parent de28b62236a7

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Mads Kiilerich
On 03/12/2017 01:23 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1489309403 28800 # Sun Mar 12 01:03:23 2017 -0800 # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd # Parent de28b62236a7d47a896bc4aba2bd95dcd8defc87 # Available At https://bitbucket.org/quark-zju/hg-draft #

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Mads Kiilerich
On 03/12/2017 01:23 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1489309403 28800 # Sun Mar 12 01:03:23 2017 -0800 # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd # Parent de28b62236a7d47a896bc4aba2bd95dcd8defc87 # Available At https://bitbucket.org/quark-zju/hg-draft #

[PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1489309403 28800 # Sun Mar 12 01:03:23 2017 -0800 # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd # Parent de28b62236a7d47a896bc4aba2bd95dcd8defc87 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or