diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-10 22:13:01 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-10 22:15:00 -0400 |
commit | 17d1c4f4fe29453fbb4087eb5de8aa6f9e6605c7 (patch) | |
tree | 84a0fb52242d7890ff6b2eb8c449b696f2edd844 /libbcachefs/sysfs.c | |
parent | 7a66cf70c5d8b02f84595e5648c12e7422e4d03e (diff) |
Update bcachefs sources to ed6b7f81a7 six locks: Disable percpu read lock mode in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/sysfs.c')
-rw-r--r-- | libbcachefs/sysfs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbcachefs/sysfs.c b/libbcachefs/sysfs.c index 0f86a6c0..0be70bf1 100644 --- a/libbcachefs/sysfs.c +++ b/libbcachefs/sysfs.c @@ -223,6 +223,7 @@ static void bch2_write_refs_to_text(struct printbuf *out, struct bch_fs *c) #endif read_attribute(internal_uuid); +read_attribute(disk_groups); read_attribute(has_data); read_attribute(alloc_debug); @@ -471,6 +472,9 @@ SHOW(bch2_fs) if (attr == &sysfs_nocow_lock_table) bch2_nocow_locks_to_text(out, &c->nocow_locks); + if (attr == &sysfs_disk_groups) + bch2_disk_groups_to_text(out, c); + return 0; } @@ -681,6 +685,8 @@ struct attribute *bch2_fs_internal_files[] = { &sysfs_moving_ctxts, &sysfs_internal_uuid, + + &sysfs_disk_groups, NULL }; |