commit cd83d0a2f4e7f170c4042ff3ac39fa27f6a7d46a
Author: Michael Still <email address hidden>
Date: Wed Mar 28 21:13:26 2012 +1100
Touch in use image files when they're checked.
It was intended that FLAGS.remove_unused_resized_minimum_age_seconds
would indicate the number of seconds a base file was unused before it
was removed. This however isn't true at the moment. Because instances
are COW mostly, this will be the time since the resize occurred,
which is normally instantly true once the image isn't being used any
more. This small patch corrects that by touching the base image during
check cycles which find it in use. Resolves bug 967845.
Reviewed: https:/ /review. openstack. org/6024 github. com/openstack/ nova/commit/ cd83d0a2f4e7f17 0c4042ff3ac39fa 27f6a7d46a
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit cd83d0a2f4e7f17 0c4042ff3ac39fa 27f6a7d46a
Author: Michael Still <email address hidden>
Date: Wed Mar 28 21:13:26 2012 +1100
Touch in use image files when they're checked.
It was intended that FLAGS.remove_ unused_ resized_ minimum_ age_seconds
would indicate the number of seconds a base file was unused before it
was removed. This however isn't true at the moment. Because instances
are COW mostly, this will be the time since the resize occurred,
which is normally instantly true once the image isn't being used any
more. This small patch corrects that by touching the base image during
check cycles which find it in use. Resolves bug 967845.
Change-Id: I75bf06cf758c9a 2d7a8bde5ce67c7 89d7e299174