Skip to content

Commit f4dee79

Browse files
committed
crimson: switch to SeaStore as default objectstore
* Introduce crimson_osd_objectstore with SeaStore as deafult. The global osd_objectstore which is used by both Classic and Crimson is defaulted to BlueStore. Signed-off-by: Matan Breizman <[email protected]>
1 parent 610e1a2 commit f4dee79

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/common/options/crimson.yaml.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
---
33

44
options:
5+
- name: crimson_osd_objectstore
6+
type: str
7+
level: advanced
8+
desc: backend type for a Crimson OSD (e.g seastore or bluestore)
9+
default: seastore
10+
enum_values:
11+
- bluestore
12+
- seastore
13+
- cyanstore
14+
flags:
15+
- create
516
- name: crimson_osd_obc_lru_size
617
type: uint
718
level: advanced

src/crimson/osd/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ int main(int argc, const char* argv[])
202202
true);
203203
}
204204
auto store = crimson::os::FuturizedStore::create(
205-
local_conf().get_val<std::string>("osd_objectstore"),
205+
local_conf().get_val<std::string>("crimson_osd_objectstore"),
206206
local_conf().get_val<std::string>("osd_data"),
207207
local_conf().get_config_values());
208208

0 commit comments

Comments
 (0)