You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2015/10/30 00:59:10 UTC

svn commit: r1711389 - /subversion/trunk/subversion/libsvn_fs_x/revprops.c

Author: stefan2
Date: Thu Oct 29 23:59:10 2015
New Revision: 1711389

URL: http://svn.apache.org/viewvc?rev=1711389&view=rev
Log:
Eliminate a large portion of the fsyncs when modifying revprops in FSX.

* subversion/libsvn_fs_x/revprops.c
  (write_revprop_generation_file): A revprop generation file change does
                                   not need to survive a system crash
                                   because it only coordinates between
                                   running processes.

Modified:
    subversion/trunk/subversion/libsvn_fs_x/revprops.c

Modified: subversion/trunk/subversion/libsvn_fs_x/revprops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/revprops.c?rev=1711389&r1=1711388&r2=1711389&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/revprops.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/revprops.c Thu Oct 29 23:59:10 2015
@@ -149,7 +149,7 @@ write_revprop_generation_file(svn_fs_t *
   buffer = svn_stringbuf_createf(scratch_pool, "%" APR_INT64_T_FMT "\n",
                                  current);
   SVN_ERR(svn_io_write_atomic2(path, buffer->data, buffer->len,
-                               path /* copy_perms */, TRUE,
+                               path /* copy_perms */, FALSE,
                                scratch_pool));
 
   /* Remember it to spare us the re-read. */