diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2014-05-02 13:19:51 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-07-10 18:35:16 +0200 |
commit | 4d3d5aa83aa45f1c7c9644b30e3a67e42c26695f (patch) | |
tree | 1789c8cdcc14a08208234c5131713db6a1640a4a /drivers/block/drbd/Makefile | |
parent | 4ce4926683b820c5c85b8033891dbfb53cc8754f (diff) | |
download | linux-4d3d5aa83aa45f1c7c9644b30e3a67e42c26695f.tar.gz linux-4d3d5aa83aa45f1c7c9644b30e3a67e42c26695f.tar.xz |
drbd: debugfs: add basic hierarchy
Add new debugfs hierarchy /sys/kernel/debug/
drbd/
resources/
$resource_name/connections/peer/$volume_number/
$resource_name/volumes/$volume_number/
minors/$minor_number -> ../resources/$resource_name/volumes/$volume_number/
Followup commits will populate this hierarchy with files containing
statistics, diagnostic information and some attribute data.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/Makefile')
-rw-r--r-- | drivers/block/drbd/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/Makefile b/drivers/block/drbd/Makefile index 8b450338075e..4464e353c1e8 100644 --- a/drivers/block/drbd/Makefile +++ b/drivers/block/drbd/Makefile @@ -3,5 +3,6 @@ drbd-y += drbd_worker.o drbd_receiver.o drbd_req.o drbd_actlog.o drbd-y += drbd_main.o drbd_strings.o drbd_nl.o drbd-y += drbd_interval.o drbd_state.o drbd-y += drbd_nla.o +drbd-$(CONFIG_DEBUG_FS) += drbd_debugfs.o obj-$(CONFIG_BLK_DEV_DRBD) += drbd.o |