Francesco Romani has submitted this change and it was merged.
Change subject: hsm: lock pool when running upgradeStoragePool ......................................................................
hsm: lock pool when running upgradeStoragePool
When running upgradeStoragePool we use the pool metadata to know which domains needs upgrade, having no pool lock means that races with flows that manipulate the pool metadata like activateSd and deactivateSd might occur.
Change-Id: I1d5b65a75b1b50d5f5991334cf6221c067a31f5b Bug-Url: https://bugzilla.redhat.com/1269187 Signed-off-by: Liron Aravot laravot@redhat.com Reviewed-on: https://gerrit.ovirt.org/45977 Reviewed-by: Nir Soffer nsoffer@redhat.com Reviewed-by: Francesco Romani fromani@redhat.com Continuous-Integration: Francesco Romani fromani@redhat.com --- M vdsm/storage/hsm.py 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: Nir Soffer: Looks good to me, but someone else must approve Francesco Romani: Looks good to me, approved; Passed CI tests Liron Aravot: Verified