]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/ObjectMap: add get_db() accessor
authorSage Weil <sage@redhat.com>
Tue, 10 Apr 2018 17:55:55 +0000 (12:55 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 2 Jul 2019 04:33:23 +0000 (00:33 -0400)
commit32ffd5380b72c26bbb7d2b35c91e7a4111e5b54b
tree02b6a5875ed62ce19112e8dc88137e0f47e68c1f
parent13e74b4e5bf6b45d5bc92f966a4660dba2f4ae88
os/ObjectMap: add get_db() accessor

This is just to let us get at the underlying KeyValueDB for DBObjectMap.
It is not really better or worse than adding accessors for things like
GetEstimatedSize() to ObjectMap.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 6c82e66dde715e5e4e12261655c5e7b521871453)
src/os/ObjectMap.h
src/os/filestore/DBObjectMap.h