Skip to content
Permalink
Browse files

btrfs: boilerplate: devlist and fsinfo

** This patch is not for integration but to debug/visualize the
btrfs device tree and fs_info. **

usage:
	cat /proc/fs/btrfs/devlist
	cat /proc/fs/btrfs/fsinfo

Signed-off-by: Anand Jain <anand.jain@oracle.com>
  • Loading branch information
asj committed Apr 21, 2020
1 parent 7111951 commit f6874237fbe66c281b5bf84ead41983fb43ed9b9
Showing with 608 additions and 2 deletions.
  1. +1 −1 fs/btrfs/Makefile
  2. +600 −0 fs/btrfs/procfs.c
  3. +2 −0 fs/btrfs/procfs.h
  4. +5 −1 fs/btrfs/super.c
@@ -11,7 +11,7 @@ btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o \
reada.o backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
uuid-tree.o props.o free-space-tree.o tree-checker.o space-info.o \
block-rsv.o delalloc-space.o block-group.o discard.o
block-rsv.o delalloc-space.o block-group.o discard.o procfs.o

btrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o
btrfs-$(CONFIG_BTRFS_FS_CHECK_INTEGRITY) += check-integrity.o

0 comments on commit f687423

Please sign in to comment.
You can’t perform that action at this time.