Switch the default path for the immutable object cache from "/tmp" to
"/tmp/ceph_immutable_object_cache" to prevent the deletion of all
files in the "/tmp" directory and sub-directories for unconfigured
daemons.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
static std::vector<Option> get_immutable_object_cache_options() {
return std::vector<Option>({
Option("immutable_object_cache_path", Option::TYPE_STR, Option::LEVEL_ADVANCED)
- .set_default("/tmp")
+ .set_default("/tmp/ceph_immutable_object_cache")
.set_description("immutable object cache data dir"),
Option("immutable_object_cache_sock", Option::TYPE_STR, Option::LEVEL_ADVANCED)