]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
jewel:ceph-disk:remove the special check to bcache devices 16061/head
authorweiqiaomiao <wei.qiaomiao@zte.com.cn>
Mon, 3 Jul 2017 01:34:08 +0000 (09:34 +0800)
committerWei <wei.qiaomiao@zte.com.cn>
Mon, 24 Jul 2017 06:07:59 +0000 (14:07 +0800)
commit2efd7cd6f32aa780fea5d26c8314c48cae734793
tree5c92bca8a05d13f7a7f84bcc03d02c19a12281c5
parent53a3be7261cfeb12445fbdba8238eefa40ed09f5
jewel:ceph-disk:remove the special check to bcache devices

if we skip partition when coming cross the bcache device in ceph-disk,
the udev can't detect the osd in such devices when we reboot the osd's host,
so the osd who deploy in bcache device can't auto start when the host restart.

And partition is now supported by bcache devices (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/drivers/md/bcache?id=b8c0d911ac5285e6be8967713271a51bdc5a936a),
we can remove this special check now.

This cannot be cherry-picked from master because 'accept bcache devices as data disks' [21f0216](https://github.com/ceph/ceph/commit/21f0216287485e6cce8811f324fee804ef733524)
is a jewel-only feature not present in master.

Signed-off-by: Wei Qiaomiao <wei.qiaomiao@zte.com.cn>
src/ceph-disk/ceph_disk/main.py