summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet2021-10-14 09:54:47 -0400
committerKent Overstreet2023-10-22 17:09:14 -0400
commit6d76aefea1902a11c47e20fec5495d30a39891f3 (patch)
tree3492b62e7853384faad5e0b97a4c5f7c60f7d945 /tools/perf/scripts/python/export-to-postgresql.py
parentbfe88863cf3063204fc49a04307fa6635554d6e3 (diff)
bcachefs: Fix for leaking of reflinked extents
When a reflink pointer points to only part of an indirect extent, and then that indirect extent is fragmented (e.g. by copygc), if the reflink pointer only points to one of the fragments we leak a reference. Fix this by storing front/back pad values in reflink pointers - when inserting reflink pointesr, we initialize them to cover the full range of the indirect extents we reference. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions