]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: avoid OSDShardPGSlot allocation in fast path
authorSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 02:07:23 +0000 (21:07 -0500)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:27:01 +0000 (08:27 -0500)
commitd14221d5d6a44ea61cf7b70b232e88b058608fc6
treee48c7f119238787c44a90bb260777d1f88688c76
parent9dbb9f93557d1efe83129ed792ac129c0effef63
osd: avoid OSDShardPGSlot allocation in fast path

If the entry already exists, we don't want to construct the PGSlot
and then throw it out.

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