diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-21 12:29:56 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-24 09:50:37 -0400 |
commit | f4a584f4bf64e0db30312088d504d4da29ca556b (patch) | |
tree | 48dd7bdecc41978a05c0f2d1580e5b97d0b75e53 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5ae6f33053af6e904e609593d05e4faf3aeb16fb (diff) |
bcachefs: bch2_disk_accounting_mod2()
We're hitting some issues with uninitialized struct padding, flagged by
kmsan.
They appear to be falso positives, otherwise bch2_accounting_validate()
would have flagged them as "junk at end". But for now, we'll need to
initialize disk_accounting_pos with memset().
This adds a new helper, bch2_disk_accounting_mod2(), that initializes a
disk_accounting_pos and does the accounting mod all at once - so overall
things actually get slightly more ergonomic.
BCH_DISK_ACCOUNTING_replicas keys are left for now; KMSAN isn't warning
about them and they're a bit special.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions