From: Greg Farnum Date: Wed, 25 Jan 2017 04:59:33 +0000 (-0800) Subject: doc: update osd snap trimming with a little more detail X-Git-Tag: v12.0.1~445^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bde8222932bd5a7c6826b18ddf5af599bfec581b;p=ceph.git doc: update osd snap trimming with a little more detail Signed-off-by: Greg Farnum --- diff --git a/doc/dev/osd_internals/snaps.rst b/doc/dev/osd_internals/snaps.rst index 95cc14944b57..e17378fd2a68 100644 --- a/doc/dev/osd_internals/snaps.rst +++ b/doc/dev/osd_internals/snaps.rst @@ -74,6 +74,9 @@ pg is clean and not scrubbing. #. We determine the next object for trimming out of PG::snap_mapper. For each object, we create a log entry and repop updating the object info and the snap set (including adjusting the overlaps). + If the object is a clone which no longer belongs to any live snapshots, + it is removed here. (See PrimaryLogPG::trim_object() when new_snaps + is empty.) #. We also locally update our *SnapMapper* instance with the object's new snaps. #. The log entry containing the modification of the object also @@ -83,6 +86,7 @@ pg is clean and not scrubbing. the new set of purged_snaps along with the rest of the info. + Recovery -------- Because the trim operations are implemented using repops and log entries,