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

Issue 1035903002: Let sqlite use fdatasync() on Linux-based systems (Closed)

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

Description

Let sqlite use fdatasync() on Linux-based systems fdatasync() should be faster than fsync(). From sqlite3.c: /* ** We do not trust systems to provide a working fdatasync(). Some do. ** Others do no. To be safe, we will stick with the (slightly slower) ** fsync(). If you know that your system does support fdatasync() correctly, ** then simply compile with -Dfdatasync=fdatasync */ BUG=469071 Committed: https://crrev.com/195310ab0b38de5704b9fa7ec9a804d68d3cdb88 Cr-Commit-Position: refs/heads/master@{#322679}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M third_party/sqlite/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/sqlite/sqlite.gyp View 1 chunk +6 lines, -0 lines 5 comments Download

Messages

Total messages: 13 (2 generated)
hashimoto
5 years, 9 months ago (2015-03-26 09:57:45 UTC) #2
Scott Hess - ex-Googler
Ha! I was also writing this CL yesterday afternoon. Does "linux" cover ChromiumOS? Did you ...
5 years, 9 months ago (2015-03-26 17:46:00 UTC) #3
Scott Hess - ex-Googler
I still wonder about chromeos in the gyp case, if you know. https://codereview.chromium.org/1035903002/diff/1/third_party/sqlite/sqlite.gyp File third_party/sqlite/sqlite.gyp ...
5 years, 9 months ago (2015-03-26 21:51:07 UTC) #4
hashimoto
On 2015/03/26 17:46:00, Scott Hess wrote: > Ha! I was also writing this CL yesterday ...
5 years, 9 months ago (2015-03-27 05:14:57 UTC) #5
hashimoto
https://codereview.chromium.org/1035903002/diff/1/third_party/sqlite/sqlite.gyp File third_party/sqlite/sqlite.gyp (right): https://codereview.chromium.org/1035903002/diff/1/third_party/sqlite/sqlite.gyp#newcode70 third_party/sqlite/sqlite.gyp:70: }], On 2015/03/26 21:51:07, Scott Hess wrote: > On ...
5 years, 9 months ago (2015-03-27 05:15:02 UTC) #6
Scott Hess - ex-Googler
lgtm. I'm happy to have someone else to ask questions of, since my main worries ...
5 years, 9 months ago (2015-03-27 14:13:11 UTC) #7
Scott Hess - ex-Googler
On 2015/03/27 14:13:11, Scott Hess wrote: > lgtm. > > I'm happy to have someone ...
5 years, 9 months ago (2015-03-27 22:51:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1035903002/1
5 years, 9 months ago (2015-03-27 22:52:01 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-27 23:39:26 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/195310ab0b38de5704b9fa7ec9a804d68d3cdb88 Cr-Commit-Position: refs/heads/master@{#322679}
5 years, 9 months ago (2015-03-27 23:40:08 UTC) #12
hashimoto
5 years, 9 months ago (2015-03-28 07:42:02 UTC) #13
Message was sent while issue was closed.
On 2015/03/27 22:51:35, Scott Hess wrote:
> On 2015/03/27 14:13:11, Scott Hess wrote:
> > lgtm.
> > 
> > I'm happy to have someone else to ask questions of, since my main worries
were
> > that I'd add the define but it wouldn't actually change the code or
> something...
> > 
> > You're right on the ChromiumOS no-sync thing.  I'm surprised I missed that,
> > because I was being annoyed by it recently (it was a short-sighted
decision).
> 
> Realized you're in a different timezone, so I figure I'll punch the commit
> button.

Thanks!

Powered by Google App Engine
This is Rietveld 408576698