diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-11-28 14:31:19 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:18 -0400 |
commit | 58e1ea4bcb057388636b0098524d6e0647eb40c2 (patch) | |
tree | 5ceb724ebe5e88fea1a99fe5e90bdaee6eda4aea /lib/cpu_rmap.c | |
parent | 502cfb3591ec1f3d133c7eb281b8b93ca2bb2768 (diff) |
bcachefs: Push c->mark_lock usage down to where it is needed
This changes the bch2_mark_key() and related paths to take mark lock
where it is needed, instead of taking it in the upper transaction commit
path - by pushing down locking we'll be able to handle fsck errors
locally instead of requiring a separate check in the btree_gc code for
replicas being marked.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions