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

Issue 23752005: Disk Cache: Replace the worker pool with a sequenced worker pool (posix). (Closed)

Created:
7 years, 3 months ago by rvargas (doing something else)
Modified:
7 years, 3 months ago
Reviewers:
gavinp
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Visibility:
Public.

Description

Disk Cache: Replace the worker pool with a sequenced worker pool (posix). On posix systems the cache implements asynchronous IO with a worker pool. This CL replaces the deprecated WorkerPool with SequencedWorkerPool, and removes the InFlightIO controller that keeps track of all pending operations. Now there's no way to wait for operations to complete on production code, but the cache switched a while ago to only wait on unit tests. BUG=251774, 268646 TEST=net_unittests R=gavinp@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222408

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move test helper to the class. #

Patch Set 3 : protected dtor #

Patch Set 4 : oh style checker... now with virtual #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -356 lines) Patch
net/disk_cache/backend_impl.cc View 1 chunk +0 lines, -2 lines 0 comments Download
net/disk_cache/backend_unittest.cc View 1 8 chunks +206 lines, -168 lines 0 comments Download
net/disk_cache/file.h View 1 chunk +6 lines, -4 lines 0 comments Download
net/disk_cache/file_posix.cc View 1 2 3 8 chunks +65 lines, -177 lines 0 comments Download
net/disk_cache/file_win.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rvargas (doing something else)
7 years, 3 months ago (2013-09-05 00:04:16 UTC) #1
gavinp
Whoops, just saw I hadn't sent these out. https://codereview.chromium.org/23752005/diff/1/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (right): https://codereview.chromium.org/23752005/diff/1/net/disk_cache/backend_unittest.cc#newcode65 net/disk_cache/backend_unittest.cc:65: // ...
7 years, 3 months ago (2013-09-09 21:18:16 UTC) #2
rvargas (doing something else)
https://codereview.chromium.org/23752005/diff/1/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (right): https://codereview.chromium.org/23752005/diff/1/net/disk_cache/backend_unittest.cc#newcode65 net/disk_cache/backend_unittest.cc:65: // This function requires the use of a single ...
7 years, 3 months ago (2013-09-09 22:26:57 UTC) #3
gavinp
Moving the helper into the test class was a good change. LGTM. https://codereview.chromium.org/23752005/diff/1/net/disk_cache/file_posix.cc File net/disk_cache/file_posix.cc ...
7 years, 3 months ago (2013-09-10 17:50:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rvargas@chromium.org/23752005/29001
7 years, 3 months ago (2013-09-10 20:40:16 UTC) #5
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 23:59:42 UTC) #6
Message was sent while issue was closed.
Change committed as 222408

Powered by Google App Engine
This is Rietveld 408576698