Merge "Increase the minimal remount scratch size to 64MiB for F2FS scratch"
This commit is contained in:
commit
a50ffe6c7b
1 changed files with 1 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ static bool CreateScratchOnData(std::string* scratch_device, bool* partition_exi
|
|||
return false;
|
||||
}
|
||||
if (!images->BackingImageExists(partition_name)) {
|
||||
static constexpr uint64_t kMinimumSize = 16_MiB;
|
||||
static constexpr uint64_t kMinimumSize = 64_MiB;
|
||||
static constexpr uint64_t kMaximumSize = 2_GiB;
|
||||
|
||||
uint64_t size = std::clamp(info.size / 2, kMinimumSize, kMaximumSize);
|
||||
|
|
Loading…
Reference in a new issue