]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: quickly check for duplicate snap name upon create 9628/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 8 Jun 2016 14:12:04 +0000 (10:12 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 10 Jun 2016 16:44:49 +0000 (12:44 -0400)
commitcb50679bad91fa1a0e360dca0331996b543fdadd
tree3b332f1f6644154abc941fbb5a98f6125efc1e63
parent43f3bbf130c9914f895bf4834305f951d0228954
librbd: quickly check for duplicate snap name upon create

During journal replay, quickly check for a duplicate snap name
before allocating a snapshot sequence from the OSDs and
reverting due to the duplicate name.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 8374d45c7644666103f88c410a2b1b781f3a0cb8)
src/librbd/Operations.cc