Change in vdsm[master]: virt: make updateVolume a periodic operation
fromani at redhat.com
fromani at redhat.com
Thu Mar 19 13:17:21 UTC 2015
Francesco Romani has posted comments on this change.
Change subject: virt: make updateVolume a periodic operation
......................................................................
Patch Set 21:
(2 comments)
https://gerrit.ovirt.org/#/c/37594/21//COMMIT_MSG
Commit Message:
Line 11: 'updateVolumes' operation, which was formerly
Line 12: piggybacked in the sampling threads.
Line 13:
Line 14: But actually 'updateVolumes' is a perfect candidate
Line 15: to motivy the need of a 'services' infrastructure to
> motivate, and 'services' is now 'periodic'
Reworded.
Line 16: run periodic (bookkeeping) tasks for VMs.
Line 17:
Line 18: So, this patch bootstraps the usage of the newly
Line 19: added services infrastructure by moving 'updateVolumes'
https://gerrit.ovirt.org/#/c/37594/21/vdsm/virt/periodic.py
File vdsm/virt/periodic.py:
Line 66:
Line 67: _scheduler.start()
Line 68: _executor.start()
Line 69:
Line 70: pervmOperation = functools.partial(_dispatchedOperation, cif)
> per_vm_op
Done
Line 71:
Line 72: _operations = [
Line 73: # needs dispatching becuse updating the volume stats needs the
Line 74: # access the storage, thus can block.
--
To view, visit https://gerrit.ovirt.org/37594
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Idf5f4bff03acf4fb43eb6d296e4c02a6b7a52baa
Gerrit-PatchSet: 21
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list