Blame 0002-import-bump-image-size-safety-limit-for-machinectl-p.patch
|
Michal Sekletar |
f5f073 |
From bd9bb2324adf9e16cdf4e6c3588ddc7778530fd8 Mon Sep 17 00:00:00 2001
|
|
Michal Sekletar |
f5f073 |
From: Dax Kelson <dkelson@gurulabs.com>
|
|
Michal Sekletar |
f5f073 |
Date: Sun, 5 Mar 2017 05:03:53 -0700
|
|
Michal Sekletar |
f5f073 |
Subject: [PATCH] import: bump image size safety limit for machinectl pull
|
|
Michal Sekletar |
f5f073 |
(#5535)
|
|
Michal Sekletar |
f5f073 |
|
|
Michal Sekletar |
f5f073 |
We currenly use 40GB images in our environment
|
|
Michal Sekletar |
f5f073 |
(cherry picked from commit 055c521ad4e9d2f923e9373ac12e214a1e896cc7)
|
|
Michal Sekletar |
f5f073 |
---
|
|
Michal Sekletar |
f5f073 |
src/import/pull-job.c | 2 +-
|
|
Michal Sekletar |
f5f073 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Michal Sekletar |
f5f073 |
|
|
Michal Sekletar |
f5f073 |
diff --git a/src/import/pull-job.c b/src/import/pull-job.c
|
|
Michal Sekletar |
f5f073 |
index e550df2..70aaa5c 100644
|
|
Michal Sekletar |
f5f073 |
--- a/src/import/pull-job.c
|
|
Michal Sekletar |
f5f073 |
+++ b/src/import/pull-job.c
|
|
Michal Sekletar |
f5f073 |
@@ -527,7 +527,7 @@ int pull_job_new(PullJob **ret, const char *url, CurlGlue *glue, void *userdata)
|
|
Michal Sekletar |
f5f073 |
j->glue = glue;
|
|
Michal Sekletar |
f5f073 |
j->content_length = (uint64_t) -1;
|
|
Michal Sekletar |
f5f073 |
j->start_usec = now(CLOCK_MONOTONIC);
|
|
Michal Sekletar |
f5f073 |
- j->compressed_max = j->uncompressed_max = 8LLU * 1024LLU * 1024LLU * 1024LLU; /* 8GB */
|
|
Michal Sekletar |
f5f073 |
+ j->compressed_max = j->uncompressed_max = 64LLU * 1024LLU * 1024LLU * 1024LLU; /* 64GB safety limit */
|
|
Michal Sekletar |
f5f073 |
|
|
Michal Sekletar |
f5f073 |
j->url = strdup(url);
|
|
Michal Sekletar |
f5f073 |
if (!j->url)
|
|
Michal Sekletar |
f5f073 |
--
|
|
Michal Sekletar |
f5f073 |
2.9.3
|
|
Michal Sekletar |
f5f073 |
|