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>
Showing
- fs/bcachefs/bcachefs_ioctl.h 29 additions, 0 deletionsfs/bcachefs/bcachefs_ioctl.h
- fs/bcachefs/chardev.c 30 additions, 0 deletionsfs/bcachefs/chardev.c
- fs/bcachefs/disk_accounting.c 38 additions, 0 deletionsfs/bcachefs/disk_accounting.c
- fs/bcachefs/disk_accounting.h 1 addition, 0 deletionsfs/bcachefs/disk_accounting.h
Please register or sign in to comment