summaryrefslogtreecommitdiff
path: root/libbcachefs/move.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-11-22 00:42:55 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2017-11-22 00:50:47 -0500
commit22291ae84a029d65334d1a90b67b5031f45cd540 (patch)
treeab9fefe205577324915545b21535fcccbff89f48 /libbcachefs/move.h
parent74cb92203293a8d5b16b078389f6b3dba5300e89 (diff)
Update bcachefs sources to 9e7ae5219c bcachefs: Make write points more dynamic
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 71edcf13..a756a462 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 *);