commit | 1bae30982bc86ab66d61ccb6e22792593b45d44d | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.cz> | Wed Feb 05 15:36:18 2014 +0100 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:15:51 2014 -0400 |
tree | 55363ac60e0ab2a95a4f52e9dbc5b64f44d81104 | |
parent | ace0105076a493c04e6d5e91e6a19f222d6b3875 [diff] |
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>