Dan Kenigsberg has submitted this change and it was merged.

Change subject: sdcache: add refresh to connectStoragePool
......................................................................


sdcache: add refresh to connectStoragePool

When connecting to a storage pool we should clear the domain cache to
pick up all the changes that might have been introduced by other hosts.
Additionally since StoragePool.refresh has a similar behavior to
connectStoragePool it should also contain the invalidateStorage call to
force an iscsi rescan.

In this patch:
* reinstate the sdCache.refresh call in connectStoragePool
* add invalidateStorage to StoragePool.refresh

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=879253
Change-Id: I2d3adcff7bb0e97be5c797cd720c6353920d9db0
Signed-off-by: Federico Simoncelli <[email protected]>
---
M vdsm/storage/sp.py
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Ayal Baron: Looks good to me, approved
  Daniel Paikov: Verified
  Dan Kenigsberg: 


--
To view, visit http://gerrit.ovirt.org/9422
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2d3adcff7bb0e97be5c797cd720c6353920d9db0
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Daniel Paikov <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to