New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 737344 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Jun 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Reduce the number of migration threads in low-disk space scenarios

Project Member Reported by dspaid@chromium.org, Jun 28 2017

Issue description

If the device is low on disk space there may not be enough overhead to support multiple threads migrating at once.  Reduce the number of threads before giving up.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/a3dee57770b1d29ff73775e059aa85a62335a30a

commit a3dee57770b1d29ff73775e059aa85a62335a30a
Author: Dan Spaid <dspaid@google.com>
Date: Wed Jun 28 12:15:22 2017

cryptohome: reduce number of threads for low disk.

If the user is low on disk space when starting the crypto migration,
reduce the number of threads (and therefore required overhead) before
failing with low disk error.

TEST=cros_workon_make --board=samus --test cryptohome
BUG= chromium:737344 

Change-Id: I80a18a7470f4c9c9ac9218badea49dd3ced5d4aa
Reviewed-on: https://chromium-review.googlesource.com/551415
Commit-Ready: Dan Spaid <dspaid@chromium.org>
Tested-by: Dan Spaid <dspaid@chromium.org>
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>

[modify] https://crrev.com/a3dee57770b1d29ff73775e059aa85a62335a30a/cryptohome/dircrypto_data_migrator/migration_helper.cc

Comment 2 by dspaid@chromium.org, Jun 29 2017

Status: Fixed (was: Started)

Comment 3 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment