diff options
author | 2024-12-08 04:11:21 -0500 | |
---|---|---|
committer | 2024-12-21 01:36:22 -0500 | |
commit | 49f2d182638a54ecda9cb35ede5224f8d9f5f2e6 (patch) | |
tree | d4f1b78c660904483af69fe89cb2f82b3e407dcd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bcachefs: Don't start rewriting btree nodes until after journal replay (diff) | |
download | wireguard-linux-49f2d182638a54ecda9cb35ede5224f8d9f5f2e6.tar.xz wireguard-linux-49f2d182638a54ecda9cb35ede5224f8d9f5f2e6.zip |
bcachefs: Kill unnecessary mark_lock usage
We can't hold mark_lock while calling fsck_err() - that's a deadlock,
mark_lock is meant to be a leaf node lock.
It's also unnecessary for gc_bucket() and bucket_gen(); rcu suffices
since the bucket_gens array describes its size, and we can't race with
device removal or resize during gc/fsck since that takes state lock.
Reported-by: syzbot+38641fcbda1aaffefdd4@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions