Skip to content

Commit 195f1d7

Browse files
author
Jon Ludlam
authored
Merge pull request xapi-project#229 from huizh/CA-230601
CA-229347: Pool_update.introduce doesn't need dom0 free disk 3 times …
2 parents 13a2dc0 + 5c29d44 commit 195f1d7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ocaml/xapi/xapi_pool_update.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ let introduce ~__context ~vdi =
368368
(*If current disk free space is smaller than 1MB raise exception*)
369369
assert_space_available ~multiplier:1L Xapi_globs.host_update_dir (Int64.mul 1024L 1024L);
370370
let update_info = extract_update_info ~__context ~vdi ~verify in
371-
ignore(assert_space_available Xapi_globs.host_update_dir update_info.installation_size);
372371
try
373372
let update = Db.Pool_update.get_by_uuid ~__context ~uuid:update_info.uuid in
374373
let vdi_of_update = Db.Pool_update.get_vdi ~__context ~self:update in

0 commit comments

Comments
 (0)