GPFS Driver missing clone depth limit for snapshots
GPFS driver is fixed to handle snapshot clones correctly. Previously,
these were allowed to grow without respecting limit defined in config
flag gpfs_max_clone_depth. This change adds the depth check operation
in create_snapshot.
To ensure that all clone files are cleaned up, the delete_snapshot
method now marks snapshots to be deleted with ts file extension
and attempts to delete the snapshot. If the snapshot cannot be
deleted because it has clone children, it will be deleted when the
child is deleted.
Reviewed: https:/ /review. openstack. org/47264 github. com/openstack/ cinder/ commit/ cbb057169094e9d 633162cc5645fa1 9a82325d49
Committed: http://
Submitter: Jenkins
Branch: master
commit cbb057169094e9d 633162cc5645fa1 9a82325d49
Author: Bill Owen <email address hidden>
Date: Wed Sep 18 14:30:07 2013 -0700
GPFS Driver missing clone depth limit for snapshots
GPFS driver is fixed to handle snapshot clones correctly. Previously, clone_depth. This change adds the depth check operation
these were allowed to grow without respecting limit defined in config
flag gpfs_max_
in create_snapshot.
To ensure that all clone files are cleaned up, the delete_snapshot
method now marks snapshots to be deleted with ts file extension
and attempts to delete the snapshot. If the snapshot cannot be
deleted because it has clone children, it will be deleted when the
child is deleted.
Closes-Bug: #1227366
Change-Id: I4fb2a720b55dbe 033159e6fb341f6 e2f1508776e