Updates:
Status: Fixed
Comment #2 on issue 874 by [email protected]: Add fsync call to
atomicUpdateFile
http://code.google.com/p/ganeti/issues/detail?id=874
commit 4bb0eebd0e1a4c6265f1599f025482b8f2ecea36
Author: Klaus Aehlig <[email protected]>
Date: Mon Jul 7 11:30:41 2014 +0200
Before rename do fsync(2)
In this way, we ensure that the temporary file is fully written
to disk before the rename makes it take over the position of the
old file.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
commit 2bb2ed246ca6d01fc43580b6bcd246773d7ff0f2
Author: Klaus Aehlig <[email protected]>
Date: Mon Jul 7 11:08:52 2014 +0200
Add a foreign function call to fsync(2)
The function fsync(2) is not packaged in any package we currently
depend on, but we need it nevertheless. For a single function, however,
it is easier, also for people trying to build Ganeti, to just do the
foreign function call ourselves, instead of depending on yet another
package.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Petr Pudlak <[email protected]>
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings