]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: allocate new journal tag when acquiring exclusive lock
authorJason Dillaman <dillaman@redhat.com>
Fri, 26 Feb 2016 16:25:15 +0000 (11:25 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 8 Mar 2016 14:03:43 +0000 (09:03 -0500)
commit16d5e695c3780ef2de7dd6cc31369c329bf05a36
treeda6eafca38158bb55c69ba91085875ff5ac5d192
parentcbcfedf7d66ee358dd1ad29ed49afb3605db9bc4
librbd: allocate new journal tag when acquiring exclusive lock

The journal tag tracks a write epoch within the image, so before
allowing writes to proceed, ensure the journal entries will be
stored under a new epoch.

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