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

Issue 1619733004: Run recursive file operations sequentially. (Closed)

Created:
4 years, 11 months ago by fukino
Modified:
4 years, 11 months ago
Reviewers:
tzik
CC:
chromium-reviews, kinuko+fileapi, nhiroki, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Run recursive file operations sequentially. Parallel copy can have huge performance drop in some cases. (See issue 578923 for the detail) For safety and simplicity, this CL makes the recursive file operations sequential. BUG=578923 TEST=manually confirm the performance of copying a directory to a SD card. Committed: https://crrev.com/141a612f9d12ff9e5194dbba6d81d9d812f8ea7d Cr-Commit-Position: refs/heads/master@{#371467}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix a unit test which assumed parallel copy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -31 lines) Patch
M content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M storage/browser/fileapi/recursive_operation_delegate.h View 3 chunks +5 lines, -4 lines 0 comments Download
M storage/browser/fileapi/recursive_operation_delegate.cc View 13 chunks +3 lines, -26 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
fukino
Hi tzik@, could you take a look? https://codereview.chromium.org/1619733004/diff/1/storage/browser/fileapi/recursive_operation_delegate.cc File storage/browser/fileapi/recursive_operation_delegate.cc (left): https://codereview.chromium.org/1619733004/diff/1/storage/browser/fileapi/recursive_operation_delegate.cc#oldcode154 storage/browser/fileapi/recursive_operation_delegate.cc:154: if ((pending_files_.empty() ...
4 years, 11 months ago (2016-01-22 06:43:29 UTC) #4
fukino
Oops, I'll fix a unit test.
4 years, 11 months ago (2016-01-22 07:31:04 UTC) #5
tzik
lgtm
4 years, 11 months ago (2016-01-25 00:27:35 UTC) #6
fukino
On 2016/01/25 00:27:35, tzik wrote: > lgtm Thank you!
4 years, 11 months ago (2016-01-26 02:11:48 UTC) #7
fukino
On 2016/01/25 00:27:35, tzik wrote: > lgtm Thank you!
4 years, 11 months ago (2016-01-26 02:11:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1619733004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1619733004/20001
4 years, 11 months ago (2016-01-26 04:46:23 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-26 06:14:56 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 06:16:02 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/141a612f9d12ff9e5194dbba6d81d9d812f8ea7d
Cr-Commit-Position: refs/heads/master@{#371467}

Powered by Google App Engine
This is Rietveld 408576698