summaryrefslogtreecommitdiff
path: root/fs/bcachefs/replicas.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-11-08 01:48:32 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:11 +0300
commit1d25849c2c2d552b09494b984da915be4a703a18 (patch)
tree1eb55b0237563aabdde313ee46176d30a640a4fa /fs/bcachefs/replicas.h
parentb35b1925832e6384fcb64c347a70ee205f6e89ea (diff)
downloadlinux-1d25849c2c2d552b09494b984da915be4a703a18.tar.xz
bcachefs: Centralize marking of replicas in btree update path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/replicas.h')
-rw-r--r--fs/bcachefs/replicas.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/replicas.h b/fs/bcachefs/replicas.h
index a343dd9cd97f..e22d2d7cd08a 100644
--- a/fs/bcachefs/replicas.h
+++ b/fs/bcachefs/replicas.h
@@ -5,9 +5,9 @@
#include "replicas_types.h"
bool bch2_replicas_marked(struct bch_fs *, enum bch_data_type,
- struct bch_devs_list);
+ struct bch_devs_list, bool);
bool bch2_bkey_replicas_marked(struct bch_fs *, enum bkey_type,
- struct bkey_s_c);
+ struct bkey_s_c, bool);
int bch2_mark_replicas(struct bch_fs *, enum bch_data_type,
struct bch_devs_list);
int bch2_mark_bkey_replicas(struct bch_fs *, enum bkey_type,