drbd: drbd_adm_get_status needs to show some more detail
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 10 Mar 2011 21:18:18 +0000 (22:18 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Sat, 3 Nov 2012 23:16:19 +0000 (00:16 +0100)
commit543cc10b4cc5c60aa9fcc62705ccfb9998bf4697
tree50493080737a5f852f39e0253e7755f361a1e7ae
parent73d901b74f1070c8a664349b564ba6f8bc8ab283
drbd: drbd_adm_get_status needs to show some more detail

We want to see existing connection objects, even if they do not
currently have volumes attached.

Change the .dumpit variant of drbd_adm_get_status to iterate not over
minor devices, but over connections + volumes.

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