summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorMichael Kerrin <michael.kerrin@hp.com>2013-04-16 09:43:28 +0000
committerMichael Kerrin <michael.kerrin@hp.com>2013-05-01 16:02:16 +0000
commita4cb456631f0e70685fbc361eced9baa477a8c56 (patch)
tree082d60e6afa0d5fce1306def779383dbb13a7b51 /nova/utils.py
parentebffe9269df66dfc385338899551abaaef0897e0 (diff)
downloadnova-a4cb456631f0e70685fbc361eced9baa477a8c56.tar.gz
nova-a4cb456631f0e70685fbc361eced9baa477a8c56.tar.xz
nova-a4cb456631f0e70685fbc361eced9baa477a8c56.zip
Volume IO usage gets reset to 0 after a reboot / crash
Check for reset of block device stats before updating volume usage cache. If an instance is reboot or crashes, the results of block device stats for that domain get reset. Add check that if block device stats are lower than the current stats in the database, then add current values to totals and update. Change-Id: I3011872f8d80a1519771f8423001650dcbcc7f5b Fixes bug: 1169097
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions