]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: speed up get_key_name 17071/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Thu, 17 Aug 2017 18:33:51 +0000 (14:33 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 29 Aug 2017 16:46:09 +0000 (12:46 -0400)
commit643f20ac3177bb74cbec22123397536f7dbe5dbe
treea6e013a4c3feab575c11a496b126a1656775eec2
parent8dbddc4511ec2ea5d93cd0397805850862e3fe0c
osd: speed up get_key_name

Reduce string manipulation and creation of an extra string by
streamlining code for get_key_name in both eversion_t and
pg_log_dup_t.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/osd/osd_types.cc
src/osd/osd_types.h
src/test/osd/TestPGLog.cc