Merge lp:~vkolesnikov/pbxt/pbxt-fullfsync into lp:pbxt

Proposed by Vladimir Kolesnikov
Status: Merged
Merged at revision: not available
Proposed branch: lp:~vkolesnikov/pbxt/pbxt-fullfsync
Merge into: lp:pbxt
Diff against target: None lines
To merge this branch: bzr merge lp:~vkolesnikov/pbxt/pbxt-fullfsync
Reviewer Review Type Date Requested Status
PBXT Core Pending
Review via email: mp+8300@code.launchpad.net
To post a comment you must log in.
lp:~vkolesnikov/pbxt/pbxt-fullfsync updated
671. By Vladimir Kolesnikov

updated comment

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2009-07-02 12:13:58 +0000
+++ ChangeLog 2009-07-07 09:52:36 +0000
@@ -3,6 +3,8 @@
33
4------- 1.0.08 RC2 - 2009-06-304------- 1.0.08 RC2 - 2009-06-30
55
6RN253: Use fcntl(F_FULLFSYNC) instead of fsync on platforms that support it
7
6RN252: Fixed bug #368692: PBXT not reporting data size correctly in information_schema8RN252: Fixed bug #368692: PBXT not reporting data size correctly in information_schema
79
8RN251: A Windows-specific test update, also removed false assertion that failed on Windows.10RN251: A Windows-specific test update, also removed false assertion that failed on Windows.
911
=== modified file 'src/filesys_xt.cc'
--- src/filesys_xt.cc 2009-05-28 15:17:16 +0000
+++ src/filesys_xt.cc 2009-07-07 09:52:36 +0000
@@ -868,11 +868,18 @@
868 goto failed;868 goto failed;
869 }869 }
870#else870#else
871#ifdef F_FULLFSYNC
872 if (fcntl(of->of_filedes, F_FULLFSYNC, 0) == -1) {
873 xt_register_ferrno(XT_REG_CONTEXT, errno, xt_file_path(of));
874 goto failed;
875 }
876#else
871 if (fsync(of->of_filedes) == -1) {877 if (fsync(of->of_filedes) == -1) {
872 xt_register_ferrno(XT_REG_CONTEXT, errno, xt_file_path(of));878 xt_register_ferrno(XT_REG_CONTEXT, errno, xt_file_path(of));
873 goto failed;879 goto failed;
874 }880 }
875#endif881#endif
882#endif
876#ifdef DEBUG_TRACE_IO883#ifdef DEBUG_TRACE_IO
877 xt_trace("/* %s */ pbxt_file_sync(\"%s\");\n", xt_trace_clock_diff(timef, start), of->fr_file->fil_path);884 xt_trace("/* %s */ pbxt_file_sync(\"%s\");\n", xt_trace_clock_diff(timef, start), of->fr_file->fil_path);
878#endif885#endif

Subscribers

People subscribed via source and target branches