From ade49d44b78a241ecd9ecae0aa904b849afc586f Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Fri, 16 Feb 2018 21:47:35 +0000 Subject: [PATCH] lvm_thin: don't purge one revision too few We just added one that must be taken into account. --- qubes/storage/lvm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubes/storage/lvm.py b/qubes/storage/lvm.py index 070523cc..bec33ee1 100644 --- a/qubes/storage/lvm.py +++ b/qubes/storage/lvm.py @@ -286,6 +286,7 @@ class ThinVolume(qubes.storage.Volume): cmd = ['clone', self.vid, '{}-{}-back'.format(self.vid, int(time.time()))] qubes_lvm(cmd, self.log) + reset_cache() self._remove_revisions() # TODO: when converting this function to coroutine, this _must_ be