]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: add new CLS call to retrieve global configuration
authorJ. Eric Ivancich <ivancich@redhat.com>
Thu, 20 Jan 2022 15:56:49 +0000 (10:56 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Thu, 24 Mar 2022 16:15:32 +0000 (12:15 -0400)
commit3877c1e37f2fa4e1574b57f05132288f210835a7
tree6d6e7ab9f40d3457d9f243b864903538003afb76
parent78dc7205046d93e79c871b7cad0a78fc9100a064
osd: add new CLS call to retrieve global configuration

Currently there is no easy way to gain access to global configuration
from CLS (objclass) code. This adds a new call to the CLS interface
that returns a "const ConfigProxy&" from which configuration can be
accessed.

NOTE: Working code to do provide this functionality in crimson is not
provided.

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