summaryrefslogtreecommitdiff
path: root/libbcachefs/move.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/move.h')
-rw-r--r--libbcachefs/move.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/libbcachefs/move.h b/libbcachefs/move.h
index 71edcf1..a756a46 100644
--- a/libbcachefs/move.h
+++ b/libbcachefs/move.h
@@ -20,12 +20,9 @@ struct migrate_write {
struct bch_write_op op;
};
-void bch2_migrate_write_init(struct bch_fs *,
- struct migrate_write *,
- struct write_point *,
- struct bkey_s_c,
- const struct bch_extent_ptr *,
- unsigned);
+void bch2_migrate_write_init(struct bch_fs *, struct migrate_write *,
+ struct bch_devs_mask *, struct bkey_s_c,
+ const struct bch_extent_ptr *, unsigned);
#define SECTORS_IN_FLIGHT_PER_DEVICE 2048
@@ -69,11 +66,9 @@ struct moving_io {
struct bio_vec bi_inline_vecs[0];
};
-int bch2_data_move(struct bch_fs *,
- struct moving_context *,
- struct write_point *,
- struct bkey_s_c,
- const struct bch_extent_ptr *);
+int bch2_data_move(struct bch_fs *, struct moving_context *,
+ struct bch_devs_mask *, struct bkey_s_c,
+ const struct bch_extent_ptr *);
int bch2_move_ctxt_wait(struct moving_context *);
void bch2_move_ctxt_wait_for_io(struct moving_context *);