1
0

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
Este cometimento está contido em:
Marek Marczykowski-Górecki 2018-01-11 03:56:30 +01:00
ascendente a66c9afb18
cometimento 377f331d52
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 063938BA42CFA724

Ver ficheiro

@ -97,7 +97,8 @@ class ThinPool(qubes.storage.Pool):
return volume
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):
''' Return a volume with given vid'''