diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-11-28 22:31:19 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:18 +0300 |
commit | 58e1ea4bcb057388636b0098524d6e0647eb40c2 (patch) | |
tree | 5ceb724ebe5e88fea1a99fe5e90bdaee6eda4aea /fs/bcachefs/replicas.c | |
parent | 502cfb3591ec1f3d133c7eb281b8b93ca2bb2768 (diff) | |
download | linux-58e1ea4bcb057388636b0098524d6e0647eb40c2.tar.xz |
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 'fs/bcachefs/replicas.c')
0 files changed, 0 insertions, 0 deletions