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

Issue 264993002: [FileAPI] Remove Flush() on write completion on SandboxFileSystems (Closed)

Created:
6 years, 7 months ago by tzik
Modified:
6 years, 7 months ago
Reviewers:
kinuko, michaeln
CC:
chromium-reviews, jam, alecflett, ericu+idb_chromium.org, darin-cc_chromium.org, nhiroki, cmumford, dgrogan, kinuko+watch, jsbell+idb_chromium.org, arthurhsu
Visibility:
Public.

Description

[FileAPI] Remove Flush() on write completion on SandboxFileSystems The Flush() call is relatively less important for SandboxFileSystems which is stored in a internal storage, than external storage (e.g. USB storage). And, it hurts performance of truncate()-write() use case on encrypted disk. This CL removes Flush() on write completion on SandboxFileSystems. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268914

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : fix #

Total comments: 2

Patch Set 4 : +comment #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -12 lines) Patch
M content/browser/fileapi/file_writer_delegate_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/browser/fileapi/file_system_context.h View 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_operation_runner.cc View 1 chunk +5 lines, -1 line 0 comments Download
M webkit/browser/fileapi/file_writer_delegate.h View 1 4 chunks +11 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/file_writer_delegate.cc View 4 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tzik
PTL
6 years, 7 months ago (2014-05-02 04:48:31 UTC) #1
kinuko
https://codereview.chromium.org/264993002/diff/40001/webkit/browser/fileapi/file_system_context.cc File webkit/browser/fileapi/file_system_context.cc (right): https://codereview.chromium.org/264993002/diff/40001/webkit/browser/fileapi/file_system_context.cc#newcode484 webkit/browser/fileapi/file_system_context.cc:484: return !IsSandboxFileSystem(type); This'd look hacky or cryptic, can you ...
6 years, 7 months ago (2014-05-02 05:26:16 UTC) #2
tzik
https://codereview.chromium.org/264993002/diff/40001/webkit/browser/fileapi/file_system_context.cc File webkit/browser/fileapi/file_system_context.cc (right): https://codereview.chromium.org/264993002/diff/40001/webkit/browser/fileapi/file_system_context.cc#newcode484 webkit/browser/fileapi/file_system_context.cc:484: return !IsSandboxFileSystem(type); On 2014/05/02 05:26:16, kinuko wrote: > This'd ...
6 years, 7 months ago (2014-05-02 06:55:10 UTC) #3
kinuko
lgtm https://codereview.chromium.org/264993002/diff/60001/webkit/browser/fileapi/file_system_context.cc File webkit/browser/fileapi/file_system_context.cc (right): https://codereview.chromium.org/264993002/diff/60001/webkit/browser/fileapi/file_system_context.cc#newcode487 webkit/browser/fileapi/file_system_context.cc:487: // disk, we don't need to keep calling ...
6 years, 7 months ago (2014-05-02 07:02:48 UTC) #4
tzik
https://codereview.chromium.org/264993002/diff/60001/webkit/browser/fileapi/file_system_context.cc File webkit/browser/fileapi/file_system_context.cc (right): https://codereview.chromium.org/264993002/diff/60001/webkit/browser/fileapi/file_system_context.cc#newcode487 webkit/browser/fileapi/file_system_context.cc:487: // disk, we don't need to keep calling fsync() ...
6 years, 7 months ago (2014-05-02 07:37:24 UTC) #5
tzik
Michael, please take a look to ctx/b/index_db change as a OWNER.
6 years, 7 months ago (2014-05-07 02:33:34 UTC) #6
michaeln
> Michael, please take a look to ctx/b/index_db change as a OWNER. lgtm (i see ...
6 years, 7 months ago (2014-05-07 02:45:34 UTC) #7
tzik
On 2014/05/07 02:45:34, michaeln wrote: > > Michael, please take a look to ctx/b/index_db change ...
6 years, 7 months ago (2014-05-07 05:43:10 UTC) #8
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 7 months ago (2014-05-07 05:43:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/264993002/80001
6 years, 7 months ago (2014-05-07 05:47:40 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 17:56:27 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-07 20:13:22 UTC) #12
Message was sent while issue was closed.
Change committed as 268914

Powered by Google App Engine
This is Rietveld 408576698