]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls/journal: ensure tags are properly expired 20282/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 27 Oct 2017 20:45:54 +0000 (16:45 -0400)
committerNathan Cutler <ncutler@suse.com>
Sat, 3 Feb 2018 19:50:49 +0000 (20:50 +0100)
commitfa5e13616a69474198efc314a14cabcea9c0edfb
tree40fb27173f18a97cc187438cf6e6a383eb99c0dd
parent2c5186c77b1fac49a1cfa6bdc706596820b176c3
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)

Conflicts:
src/cls/journal/cls_journal.cc (jewel does not have d3de6f5e07cb30d81ce8cc539256c6cf754b28d5)
src/cls/journal/cls_journal.cc