diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-03 18:03:10 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-03 19:17:04 -0400 |
commit | 21151f74d342f89a3c422c8664193276f6f3d23f (patch) | |
tree | 42f5595285754c31f42b2f24a3f0e520ec374677 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | ace9e99ba674c601f71218613ecfec44976becfc (diff) |
bcachefs: btree node scan no longer uses btree cache
Previously, btree node scan used the btree node cache to check if btree
nodes were readable, but this is subject to interference from threads
scanning different devices trying to read the same node - and more
critically, nodes that we already attempted and failed to read before
kicking off scan.
Instead, we now allocate a 'struct btree' that does not live in the
btree node cache, and call bch2_btree_node_read_done() directly.
Cc: Nikita Ofitserov <himikof@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions