summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-10-01 02:03:19 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-10-06 10:03:45 +0300
commit38864eccf78b4e8ab9e2b7a4320943b1feb6872a (patch)
treec73445476b7f5e9ef9dde3915a09c746e969d3f7 /tools/perf/scripts/python
parentbade9711e0905eaa99e2ed98fc9642acaf9ba2b5 (diff)
downloadlinux-38864eccf78b4e8ab9e2b7a4320943b1feb6872a.tar.xz
bcachefs: reattach_inode() now correctly handles interior snapshot nodes
When we find an unreachable inode, we now reattach it in the oldest version that needs to be reattached (thus avoiding redundant work reattaching every single version), and we now fix up inode -> dirent backpointers in newer versions as needed - or white out the reattaching dirent in newer versions, if the newer version isn't supposed to be reattached. This results in the second verify fsck now passing cleanly after repairing on a user-provided filesystem image with thousands of different snapshots. Reported-by: Christopher Snowhill <chris@kode54.net> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions