]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
btrfs: add simple debugfs interface
authorDavid Sterba <dsterba@suse.cz>
Wed, 5 Feb 2014 14:36:18 +0000 (15:36 +0100)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:15:51 +0000 (15:15 -0400)
commit1bae30982bc86ab66d61ccb6e22792593b45d44d
tree55363ac60e0ab2a95a4f52e9dbc5b64f44d81104
parentace0105076a493c04e6d5e91e6a19f222d6b3875
btrfs: add simple debugfs interface

Help during debugging to export various interesting infromation and
tunables without the need of extra mount options or ioctls.

Usage:
* declare your variable in sysfs.h, and include where you need it
* define the variable in sysfs.c and make it visible via
  debugfs_create_TYPE

Depends on CONFIG_DEBUG_FS.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h