]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: BCH_IOCTL_QUERY_ACCOUNTING
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 1 Mar 2024 23:43:39 +0000 (18:43 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:15 +0000 (19:00 -0400)
commit8863d1e092005d5b31f7e712827a5605f8a7ba22
treed726ed95d438da6c202f91102299768e78511696
parent7f3dc6c98b52204c0060fa7eee0fbced05958544
bcachefs: BCH_IOCTL_QUERY_ACCOUNTING

Add a new ioctl that can return the new accounting counter types; it
takes as input a bitmask of accounting types to return.

This will be used for returning e.g. compression accounting and
rebalance_work accounting.

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