mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
ceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
parent
d117d66903
commit
0eb0bdfc55
@ -17,6 +17,7 @@ class SingleType(object):
|
||||
def __init__(self, devices, args):
|
||||
self.args = args
|
||||
self.devices = devices
|
||||
# TODO: add --fast-devices and --slow-devices so these can be customized
|
||||
self.hdds = [device for device in devices if device.sys_api['rotational'] == '1']
|
||||
self.ssds = [device for device in devices if device.sys_api['rotational'] == '0']
|
||||
self.computed = {'osds': [], 'vgs': []}
|
||||
@ -122,6 +123,7 @@ class MixedType(object):
|
||||
def __init__(self, devices, args):
|
||||
self.args = args
|
||||
self.devices = devices
|
||||
# TODO: add --fast-devices and --slow-devices so these can be customized
|
||||
self.hdds = [device for device in devices if device.sys_api['rotational'] == '1']
|
||||
self.ssds = [device for device in devices if device.sys_api['rotational'] == '0']
|
||||
self.computed = {'osds': []}
|
||||
|
Loading…
Reference in New Issue
Block a user