From: Alfredo Deza Date: Mon, 10 Sep 2018 16:09:15 +0000 (-0400) Subject: ceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices X-Git-Tag: v13.2.2~11^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8a59352e528a21079e327c14eea65e3f56d44ed1;p=ceph.git ceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices Signed-off-by: Alfredo Deza (cherry picked from commit 0eb0bdfc55d8ceb27cd12bc3a7fb807a7e65c788) --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py b/src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py index 4dee9ee61d6b..14b08e4cb95c 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py @@ -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': []}