drbd: debugfs: add basic hierarchy
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 2 May 2014 11:19:51 +0000 (13:19 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:16 +0000 (18:35 +0200)
commit4d3d5aa83aa45f1c7c9644b30e3a67e42c26695f
tree1789c8cdcc14a08208234c5131713db6a1640a4a
parent4ce4926683b820c5c85b8033891dbfb53cc8754f
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>
drivers/block/drbd/Makefile
drivers/block/drbd/drbd_debugfs.c [new file with mode: 0644]
drivers/block/drbd/drbd_debugfs.h [new file with mode: 0644]
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c