diff options
author | 2025-03-21 12:29:56 -0400 | |
---|---|---|
committer | 2025-03-24 09:50:37 -0400 | |
commit | f4a584f4bf64e0db30312088d504d4da29ca556b (patch) | |
tree | 48dd7bdecc41978a05c0f2d1580e5b97d0b75e53 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: zero init journal bios (diff) | |
download | wireguard-linux-f4a584f4bf64e0db30312088d504d4da29ca556b.tar.xz wireguard-linux-f4a584f4bf64e0db30312088d504d4da29ca556b.zip |
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