drbd: Backport the "status" command
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 28 Aug 2014 11:31:14 +0000 (13:31 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 25 Nov 2015 16:22:00 +0000 (09:22 -0700)
commita55bbd375d1802141f0f043e2cd08f85c23d6209
tree83d293e01c9576076f02c53e16da0401a699baa3
parenta29728463b254ce81ecefdf20c1a02e01d9361da
drbd: Backport the "status" command

The status command originates the drbd9 code base. While for now we
keep the status information in /proc/drbd available, this commit
allows the user base to gracefully migrate their monitoring
infrastructure to the new status reporting interface.

In drbd9 no status information is exposed through /proc/drbd.

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_nl.c
include/linux/drbd_genl.h
include/linux/idr.h