[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn_io_file_flush_to_disk fails on AFS filesystems on Darwin

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Thu, 27 Jun 2019 09:53:37 -0400

On Thu, Jun 27, 2019 at 5:20 AM Branko Čibej <brane_at_apache.org> wrote:

> > On 26.06.2019 20:57, Branko Čibej wrote:
> > Turns out that APR is already doing this _almost_ correctly. The kind of
> > change linked to above would fit in APR quite well. The "problem" is
> > that Subversion currently doesn't use the "new" APR functions for
> > sync/datasync. So my suggestion for the fix would be twofold:
> >
> > * Enhance the sync functionality in APR (trunk, 1.7 and possibly 1.6)
> > * Change Subversion to use APR's sync functions
> >
> > I'll look into this.
>
> Interesting ... "man fcntl" on macOS does *not* mention ENOTTY at all.
> So everyone who's currently implementing this fix is relying on an
> undocumented feature of the filesystem. :)

Sounds like a BUG, either in macOS, Darwin, APFS, or the man page.

Sadly it's not obvious where to report it.
Received on 2019-06-27 15:53:53 CEST

This is an archived mail posted to the Subversion Dev mailing list.