aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-08-12 06:27:36 +0000
committerKent Overstreet <[email protected]>2024-08-14 03:00:50 +0000
commit58474f76a770bcc79d4b2d7232e4d6650e732b50 (patch)
tree483b52bc19698ce56eda1ea003a049161aa8af96 /rust/helpers/build_assert.c
parentbcachefs: Kill __bch2_accounting_mem_mod() (diff)
downloadkernel-58474f76a770bcc79d4b2d7232e4d6650e732b50.tar.gz
kernel-58474f76a770bcc79d4b2d7232e4d6650e732b50.zip
bcachefs: bcachefs_metadata_version_disk_accounting_inum
This adds another disk accounting counter to track usage per inode number (any snapshot ID). This will be used for a couple things: - It'll give us a way to tell the user how much space a given file ista consuming in all snapshots; i.e. how much extra space it's consuming due to snapshot versioning. - It counts number of extents and total size of extents (both in btree keyspace sectors and actual disk usage), meaning it gives us average extent size: that is, it'll let us cheaply find fragmented files that should be defragmented. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions