]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: helper method to generate data object OIDs on-demand
authorJason Dillaman <dillaman@redhat.com>
Tue, 7 May 2019 16:49:02 +0000 (12:49 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 13 May 2019 17:07:04 +0000 (13:07 -0400)
commit10bebfcac0af4c770c7e08206e63b5e37073b0c0
treec0e3c5badb0cc4b75d9ec125c53284d3ba462dfd
parent58bbb87c5cec72e9ecd9b6f7e6e4a6bcd437c593
librbd: helper method to generate data object OIDs on-demand

The new generator avoids multiple string length and copy operations
that are currently required in the Striper.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageCtx.cc
src/librbd/Utils.h