]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: BCH_IOCTL_QUERY_COUNTERS
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 27 Jan 2025 03:05:02 +0000 (22:05 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 15 Mar 2025 01:02:11 +0000 (21:02 -0400)
commit50ca857457e0a983bc6f881fcb1c47f8322a2c48
tree7f13f2201350477abd6466372216583628589f63
parent5ee760f667e09b95a19beea265077eb2f69cd12b
bcachefs: BCH_IOCTL_QUERY_COUNTERS

Add an ioctl for querying counters, the same ones provided in
/sys/fs/bcachefs/<uuid>/counters/, but more suitable for a 'bcachefs
top' command.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_ioctl.h
fs/bcachefs/chardev.c
fs/bcachefs/sb-counters.c
fs/bcachefs/sb-counters.h