Skip to content

Commit

Permalink
CA-296534: if we give up on snapshot-coalesce, don't fall through to …
Browse files Browse the repository at this point in the history
…live coalesce

Signed-off-by: Mark Syms <mark.syms@citrix.com>
  • Loading branch information
MarkSymsCtx committed Oct 15, 2018
1 parent 7f61885 commit 0fbe7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@ def _coalesceLeaf(self, vdi):
if vdi.getSizeVHD() >= prevSizeVHD:
Util.log("Snapshot-coalesce did not help, abandoning attempts")
vdi.setConfig(vdi.DB_LEAFCLSC, vdi.LEAFCLSC_OFFLINE)
break
return False
return self._liveLeafCoalesce(vdi)

def _snapshotCoalesce(self, vdi):
Expand Down

0 comments on commit 0fbe7fa

Please sign in to comment.