diff options
author | Brian Foster <bfoster@redhat.com> | 2023-05-30 14:41:50 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:03 -0400 |
commit | fec4fc82b531beb2cc67b734140ffe776af33f7c (patch) | |
tree | 69eb17cf9b842e4ae2071a30a9ccc8c1d9afb7b9 /fs/bcachefs/alloc_foreground.c | |
parent | 28551613b725c28552210121499f4e2f6c6a9054 (diff) | |
download | linux-stable-fec4fc82b531beb2cc67b734140ffe776af33f7c.tar.gz linux-stable-fec4fc82b531beb2cc67b734140ffe776af33f7c.tar.bz2 linux-stable-fec4fc82b531beb2cc67b734140ffe776af33f7c.zip |
bcachefs: create internal disk_groups sysfs file
We have bch2_sb_disk_groups_to_text() to dump disk group labels, but
no good information on device group membership at runtime. Add
bch2_disk_groups_to_text() and an associated 'disk_groups' sysfs
file to print group and device relationships.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.c')
0 files changed, 0 insertions, 0 deletions