]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/journal: ensure tags are properly expired 18604/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 27 Oct 2017 20:45:54 +0000 (16:45 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 28 Oct 2017 12:48:00 +0000 (08:48 -0400)
commit19fa1c7f5b2809e9a223b7b196dfc031e97a5dcd
tree1e13f500563b21f8e1df257ba4e0eac250c2fc7e
parente000669840df10b35bc919d65085c3414a4aa956
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>
src/cls/journal/cls_journal.cc