Add device class tiers to Ceph pools
Allows specifying a particular device class ("tier") for a given pool, for instance SSD-only or NVMe-only. This is implemented with Crush rules on the Ceph side, and via an additional new key in the pool Zookeeper schema which is defaulted to "default".
This commit is contained in:
@ -729,6 +729,10 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"tier": {
|
||||
"description": "The device class/tier of the pool",
|
||||
"type": "string"
|
||||
},
|
||||
"volume_count": {
|
||||
"description": "The number of volumes in the pool",
|
||||
"type": "integer"
|
||||
@ -5272,6 +5276,12 @@
|
||||
"name": "replcfg",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"description": "The device tier for the pool (hdd, ssd, nvme, or default)",
|
||||
"in": "query",
|
||||
"name": "tier",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -5368,6 +5378,12 @@
|
||||
"name": "replcfg",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"description": "The device tier for the pool (hdd, ssd, nvme, or default)",
|
||||
"in": "query",
|
||||
"name": "tier",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
Reference in New Issue
Block a user