]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: do_op: use head on for LIST_SNAPS
authorSage Weil <sage@redhat.com>
Thu, 31 Aug 2017 22:44:01 +0000 (18:44 -0400)
committerSage Weil <sage@redhat.com>
Mon, 11 Sep 2017 14:13:34 +0000 (09:13 -0500)
commit4fe9213b90f525c74dcf2d247749d373838b5b8e
tree33e70b97f584f0a2d5234cff44f2c9a3e7d93d4a
parent3e366ceb221e799757bace2cf962b9ca677fb604
osd/PrimaryLogPG: do_op: use head on for LIST_SNAPS

Use head oid even for LIST_SNAPS op.  This doesn't really affect
LIST_SNAPS but it *does* mean that we never call find_object_context
on a snapdir oid.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PrimaryLogPG.cc