]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drbd: make drbd known to lsblk: use bd_link_disk_holder
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 26 Mar 2015 19:53:55 +0000 (20:53 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 25 Nov 2015 16:22:02 +0000 (09:22 -0700)
commit63a7c8ad92af5f57d4a2c5be223d6ca424c3670b
tree4c9232f769b3fda758633add5d4ee5f559cf98a5
parent088b70526d5b4080010147e4a6ae1252c3fc2228
drbd: make drbd known to lsblk: use bd_link_disk_holder

lsblk should be able to pick up stacking device driver relations
involving DRBD conveniently.

Even though upstream kernel since 2011 says
"DON'T USE THIS UNLESS YOU'RE ALREADY USING IT."
a new user has been added since (bcache),
which sets the precedences for us to use it as well.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_worker.c
include/linux/drbd.h