]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: remove src_obcs, restructure LIST_SNAPS 13008/head
authorSamuel Just <sjust@redhat.com>
Tue, 23 Jun 2015 21:16:08 +0000 (14:16 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 17 Jan 2017 17:42:10 +0000 (09:42 -0800)
commit7246209a135b33e2439a484d8259808b454484b3
tree1509ce8af0dae8bc89cfadd3333c7fe57dbd413f
parent0d7b0b7b52049558273cb29d87c9b26213db8428
ReplicatedPG: remove src_obcs, restructure LIST_SNAPS

We don't need src_obcs to make LIST_SNAPS work.  Instead, do what we do
in _rollback_to and simply grab the object context inline.  It's
particularly simple since we don't need to worry about rw locks here.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h