pub struct PostParams {
pub crush_device_class: Option<String>,
pub db_dev: Option<String>,
pub db_dev_size: Option<()>,
pub dev: String,
pub encrypted: Option<bool>,
pub osds_per_device: Option<()>,
pub wal_dev: Option<String>,
pub wal_dev_size: Option<()>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§crush_device_class: Option<String>
Set the device class of the OSD in crush.
db_dev: Option<String>
Block device name for block.db.
db_dev_size: Option<()>
Size in GiB for block.db. If a block.db is requested but the size is not given, will be automatically selected by: bluestore_block_db_size from the ceph database (osd or global section) or config (osd or global section) in that order. If this is not available, it will be sized 10% of the size of the OSD device. Fails if the available size is not enough.
dev: String
Block device name.
encrypted: Option<bool>
Enables encryption of the OSD.
osds_per_device: Option<()>
OSD services per physical device. Only useful for fast NVMe devices“ .“ to utilize their performance better.
wal_dev: Option<String>
Block device name for block.wal.
wal_dev_size: Option<()>
Size in GiB for block.wal. If a block.wal is requested but the size is not given, will be automatically selected by: bluestore_block_wal_size from the ceph database (osd or global section) or config (osd or global section) in that order. If this is not available, it will be sized 1% of the size of the OSD device. Fails if the available size is not enough.
additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl Clone for PostParams
impl Clone for PostParams
Source§fn clone(&self) -> PostParams
fn clone(&self) -> PostParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more