Change in vdsm[master]: lvm: Invalidate lvm cache after extend

sgotliv at redhat.com sgotliv at redhat.com
Tue Nov 12 20:47:03 UTC 2013


Sergey Gotliv has posted comments on this change.

Change subject: lvm: Invalidate lvm cache after extend
......................................................................


Patch Set 1:

(1 comment)

I don't know, looks weird(not the author fault).

....................................................
File vdsm/storage/lvm.py
Line 297:         self.invalidateFilter()
Line 298: 
Line 299:     def wasExtendedRecently(self):
Line 300:         return time.time() - self._lastExtended < 300.0
Line 301: 
Why 300? Is this:

config.getint("irs", "repo_stats_cache_refresh_timeout")?
Line 302:     def __init__(self):
Line 303:         self._filterStale = True
Line 304:         self._extraCfg = None
Line 305:         _setupLVM()


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I96e628174143fc887e649fe67f2f1171fc176cca
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgotliv at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list