]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: look for rotational data in lsblk 26991/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 14 Mar 2019 20:14:40 +0000 (15:14 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 25 Jul 2019 14:48:13 +0000 (09:48 -0500)
commit2d81ec283bd34230b427bfd0e6f324f0909b9890
tree9f9d4d3c93d83a7562d57514a4afd4730cc14b05
parent3f5fbd73c1736432795865ad24ad985accdf0f49
ceph-volume: look for rotational data in lsblk

Also ask lsblk if a device is rotational if no information
is found in /sys/block, default to True if nothing is found.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1666822

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit de748f9aef894b247622ee5dc49c1fbc31097ad0)
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/util/device.py