]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/journal: ensure tags are properly expired 18840/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 27 Oct 2017 20:45:54 +0000 (16:45 -0400)
committerShinobu Kinjo <shinobu@redhat.com>
Thu, 9 Nov 2017 07:02:12 +0000 (02:02 -0500)
commit8cb21e6ea6fa0abe50d0c5d2b2070963c3ee3de2
tree287353b920833a995c946c49ceed525f5fe2b23a
parent2bad0ac00c898d50c9c036400b4fba09918fb331
cls/journal: ensure tags are properly expired

Previously, if only the local image was using the journal or if
a disconnected peer was attached, the tag entries could not be
expired even if unreferenced.

Fixes: http://tracker.ceph.com/issues/21960
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 19fa1c7f5b2809e9a223b7b196dfc031e97a5dcd)
src/cls/journal/cls_journal.cc