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

Issue 1394563002: Add trace to the caller of QuotaManager::GetAvailableSpace (Closed)

Created:
5 years, 2 months ago by oshima
Modified:
5 years, 2 months ago
Reviewers:
kinuko, michaeln, tzik
CC:
chromium-reviews, michaeln, tzik, jam, nhiroki, darin-cc_chromium.org, jkarlin+watch_chromium.org, cmumford, dgrogan, jsbell+idb_chromium.org, kinuko+fileapi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add trace to the caller of QuotaManager::GetAvailableSpace and its callbacks (where possible). BUG=349708 R=kinuko@chromium.org TBR=tzik@chromium.org Committed: https://crrev.com/fbe0354f403ff793ccacd4d1e162583c11bd58db Cr-Commit-Position: refs/heads/master@{#353449}

Patch Set 1 : #

Total comments: 19

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -5 lines) Patch
M chrome/browser/sync_file_system/local/canned_syncable_file_system.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc View 1 2 3 4 5 6 3 chunks +12 lines, -4 lines 0 comments Download
M content/browser/appcache/appcache_storage_impl.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/quota_dispatcher_host.cc View 1 4 chunks +12 lines, -0 lines 0 comments Download
M content/browser/renderer_host/database_message_filter.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M storage/browser/fileapi/file_system_operation_impl.cc View 9 chunks +32 lines, -0 lines 0 comments Download
M storage/browser/fileapi/sandbox_file_stream_writer.cc View 1 3 chunks +11 lines, -0 lines 0 comments Download
M storage/browser/quota/quota_callbacks.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M storage/browser/quota/quota_manager.cc View 1 2 3 4 11 chunks +38 lines, -0 lines 0 comments Download
M storage/browser/quota/quota_manager_proxy.cc View 1 3 chunks +8 lines, -0 lines 0 comments Download
M storage/browser/quota/storage_monitor.cc View 1 7 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 32 (13 generated)
oshima
I suspect that callback from one of these callers is blocking IO. tzik -> chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc ...
5 years, 2 months ago (2015-10-07 16:40:22 UTC) #3
kinuko
Thanks! (Looking) (CC-ing michaeln, cmumford)
5 years, 2 months ago (2015-10-08 04:08:44 UTC) #4
kinuko
lgtm, some are a bit puzzling lut let's add them all for now assuming these ...
5 years, 2 months ago (2015-10-08 09:08:44 UTC) #5
michaeln
https://codereview.chromium.org/1394563002/diff/20001/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/1394563002/diff/20001/content/browser/appcache/appcache_storage_impl.cc#newcode681 content/browser/appcache/appcache_storage_impl.cc:681: void AppCacheStorageImpl::StoreGroupAndCacheTask::OnQuotaCallback( If i understand the trace properly, the ...
5 years, 2 months ago (2015-10-09 00:51:43 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1394563002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1394563002/60001
5 years, 2 months ago (2015-10-09 16:38:55 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1394563002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1394563002/80001
5 years, 2 months ago (2015-10-09 16:42:26 UTC) #13
oshima
https://codereview.chromium.org/1394563002/diff/20001/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/1394563002/diff/20001/content/browser/appcache/appcache_storage_impl.cc#newcode681 content/browser/appcache/appcache_storage_impl.cc:681: void AppCacheStorageImpl::StoreGroupAndCacheTask::OnQuotaCallback( On 2015/10/09 00:51:42, michaeln wrote: > If ...
5 years, 2 months ago (2015-10-09 17:14:10 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-09 17:32:26 UTC) #16
michaeln
https://codereview.chromium.org/1394563002/diff/20001/storage/browser/quota/quota_manager.cc File storage/browser/quota/quota_manager.cc (right): https://codereview.chromium.org/1394563002/diff/20001/storage/browser/quota/quota_manager.cc#newcode1608 storage/browser/quota/quota_manager.cc:1608: void QuotaManager::DidGetAvailableSpace(int64 space) { On 2015/10/09 17:14:09, oshima wrote: ...
5 years, 2 months ago (2015-10-09 19:00:06 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1394563002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1394563002/100001
5 years, 2 months ago (2015-10-09 21:03:10 UTC) #19
oshima
https://codereview.chromium.org/1394563002/diff/20001/storage/browser/quota/quota_manager.cc File storage/browser/quota/quota_manager.cc (right): https://codereview.chromium.org/1394563002/diff/20001/storage/browser/quota/quota_manager.cc#newcode1608 storage/browser/quota/quota_manager.cc:1608: void QuotaManager::DidGetAvailableSpace(int64 space) { On 2015/10/09 19:00:05, michaeln wrote: ...
5 years, 2 months ago (2015-10-09 21:07:00 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/15083)
5 years, 2 months ago (2015-10-09 21:13:24 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1394563002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1394563002/120001
5 years, 2 months ago (2015-10-09 21:48:53 UTC) #24
michaeln
i'm not sure about all of these either, lgtm with the understanding that some of ...
5 years, 2 months ago (2015-10-09 22:10:39 UTC) #25
oshima
I'll remove them once we identify the cause. https://codereview.chromium.org/1394563002/diff/120001/storage/browser/quota/quota_manager.cc File storage/browser/quota/quota_manager.cc (right): https://codereview.chromium.org/1394563002/diff/120001/storage/browser/quota/quota_manager.cc#newcode193 storage/browser/quota/quota_manager.cc:193: TRACE_EVENT0("io", ...
5 years, 2 months ago (2015-10-09 22:36:48 UTC) #26
oshima
tbr'ing tzik@ as the change is trivial.
5 years, 2 months ago (2015-10-09 23:54:56 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1394563002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1394563002/180001
5 years, 2 months ago (2015-10-10 00:11:56 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:180001)
5 years, 2 months ago (2015-10-10 01:16:59 UTC) #31
commit-bot: I haz the power
5 years, 2 months ago (2015-10-10 01:17:35 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fbe0354f403ff793ccacd4d1e162583c11bd58db
Cr-Commit-Position: refs/heads/master@{#353449}

Powered by Google App Engine
This is Rietveld 408576698