storage/lvm: fix size reporting just after creating LV
Force cache refresh after registering new pool - it might be just created. QubesOS/qubes-issues#3438
This commit is contained in:
parent
a66c9afb18
commit
377f331d52
@ -97,7 +97,8 @@ class ThinPool(qubes.storage.Pool):
|
|||||||
return volume
|
return volume
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
pass # TODO Should we create a non existing pool?
|
reset_cache()
|
||||||
|
# TODO Should we create a non existing pool?
|
||||||
|
|
||||||
def get_volume(self, vid):
|
def get_volume(self, vid):
|
||||||
''' Return a volume with given vid'''
|
''' Return a volume with given vid'''
|
||||||
|
Loading…
Reference in New Issue
Block a user