Rev 6112: Don't actually call fdatasync, make osutils.fdatasync a no-op in http://bazaar.launchpad.net/~jameinel/bzr/2.5-no-fdatasync-tests

John Arbash Meinel john at arbash-meinel.com
Mon Aug 29 17:33:03 UTC 2011


At http://bazaar.launchpad.net/~jameinel/bzr/2.5-no-fdatasync-tests

------------------------------------------------------------
revno: 6112
revision-id: john at arbash-meinel.com-20110829173236-5yxdav80qa7es2an
parent: john at arbash-meinel.com-20110829172903-kfbf8jeqre4pz3q3
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.5-no-fdatasync-tests
timestamp: Mon 2011-08-29 19:32:36 +0200
message:
  Don't actually call fdatasync, make osutils.fdatasync a no-op
-------------- next part --------------
=== modified file 'bzrlib/osutils.py'
--- a/bzrlib/osutils.py	2011-08-24 23:55:03 +0000
+++ b/bzrlib/osutils.py	2011-08-29 17:32:36 +0000
@@ -2498,6 +2498,7 @@
     :param fileno: Integer OS file handle.
     :raises TransportNotPossible: If flushing to disk is not possible.
     """
+    return
     fn = getattr(os, 'fdatasync', getattr(os, 'fsync', None))
     if fn is not None:
         fn(fileno)



More information about the bazaar-commits mailing list