]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: normalize journal promotion/demotion events
authorJason Dillaman <dillaman@redhat.com>
Thu, 11 Aug 2016 23:39:21 +0000 (19:39 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 16 Aug 2016 13:11:07 +0000 (09:11 -0400)
commitac590e85a472533005cad73c82b2d61db161ab7a
treedea40a067eaea75aa12b240ffbbf551a6cf90de7
parent8b195e1fc8fe70a0e5417934302d5831b1f8dfb3
librbd: normalize journal promotion/demotion events

A non-primary image's commit possition won't accurately reflect
the current demotion/promotion chain. Therefore, directly specify
the predecessor for promotion events.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Journal.cc