Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Issue 1023103002: Let ImportantFileWriter Use fdatasync (Closed)

Created:
5 years, 9 months ago by hashimoto
Modified:
5 years, 9 months ago
CC:
chromium-reviews, tfarina, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let ImportantFileWriter Use fdatasync Add a new method base::File::FlushData to use fdatasync. BUG=469071 Committed: https://crrev.com/1d2b56283016e17cad1595b131c770590f342059 Cr-Commit-Position: refs/heads/master@{#321943}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : Flush() uses fdatasync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M base/files/file_posix.cc View 1 3 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
hashimoto
5 years, 9 months ago (2015-03-20 10:28:56 UTC) #5
rvargas (doing something else)
https://codereview.chromium.org/1023103002/diff/60001/base/files/file.h File base/files/file.h (right): https://codereview.chromium.org/1023103002/diff/60001/base/files/file.h#newcode262 base/files/file.h:262: // (Linux: fdatasync, other platforms: same as Flush()) I ...
5 years, 9 months ago (2015-03-20 18:56:06 UTC) #6
hashimoto
https://codereview.chromium.org/1023103002/diff/60001/base/files/file.h File base/files/file.h (right): https://codereview.chromium.org/1023103002/diff/60001/base/files/file.h#newcode262 base/files/file.h:262: // (Linux: fdatasync, other platforms: same as Flush()) On ...
5 years, 9 months ago (2015-03-20 19:38:57 UTC) #7
hashimoto
https://codereview.chromium.org/1023103002/diff/60001/base/files/important_file_writer.cc File base/files/important_file_writer.cc (right): https://codereview.chromium.org/1023103002/diff/60001/base/files/important_file_writer.cc#newcode93 base/files/important_file_writer.cc:93: bool flush_success = tmp_file.FlushData(); On 2015/03/20 19:38:57, hashimoto wrote: ...
5 years, 9 months ago (2015-03-20 19:40:31 UTC) #8
rvargas (doing something else)
lgtm https://codereview.chromium.org/1023103002/diff/60001/base/files/file.h File base/files/file.h (right): https://codereview.chromium.org/1023103002/diff/60001/base/files/file.h#newcode262 base/files/file.h:262: // (Linux: fdatasync, other platforms: same as Flush()) ...
5 years, 9 months ago (2015-03-20 21:43:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1023103002/80001
5 years, 9 months ago (2015-03-24 05:29:09 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:80001)
5 years, 9 months ago (2015-03-24 06:47:25 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 06:48:17 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1d2b56283016e17cad1595b131c770590f342059
Cr-Commit-Position: refs/heads/master@{#321943}

Powered by Google App Engine
This is Rietveld 408576698