diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-30 16:24:23 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-14 21:02:12 -0400 |
| commit | 3e2ad29865f279f7e9837e4eeb8518509e97333f (patch) | |
| tree | 8d53ec1eec842dc9729f147a64c28182e8f9f35a /tools/perf/scripts/python/flamegraph.py | |
| parent | ca24130ee412d991ef9925bf1b507f973daa9740 (diff) | |
| download | linux-3e2ad29865f279f7e9837e4eeb8518509e97333f.tar.gz linux-3e2ad29865f279f7e9837e4eeb8518509e97333f.zip | |
bcachefs: bch2_btree_node_scrub()
Add a function for scrubbing btree nodes - reading them in, and kicking
off a rewrite if there's an error.
The btree_node_read_done() checks have to be duplicated because we're
not using a pointer to a struct btree - the btree node might already be
in cache, and we need to check a specific replica, which might not be
the one we previously read from.
This will be used in the next patch implementing high-level scrub.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
