mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
bcachefs: export bch2_move_data_phys()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
0ca375b177
commit
ecedc87cfa
|
|
@ -900,16 +900,16 @@ static int __bch2_move_data_phys(struct moving_context *ctxt,
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int bch2_move_data_phys(struct bch_fs *c,
|
||||
unsigned dev,
|
||||
u64 start,
|
||||
u64 end,
|
||||
unsigned data_types,
|
||||
struct bch_ratelimit *rate,
|
||||
struct bch_move_stats *stats,
|
||||
struct write_point_specifier wp,
|
||||
bool wait_on_copygc,
|
||||
move_pred_fn pred, void *arg)
|
||||
int bch2_move_data_phys(struct bch_fs *c,
|
||||
unsigned dev,
|
||||
u64 start,
|
||||
u64 end,
|
||||
unsigned data_types,
|
||||
struct bch_ratelimit *rate,
|
||||
struct bch_move_stats *stats,
|
||||
struct write_point_specifier wp,
|
||||
bool wait_on_copygc,
|
||||
move_pred_fn pred, void *arg)
|
||||
{
|
||||
struct moving_context ctxt;
|
||||
|
||||
|
|
|
|||
|
|
@ -135,6 +135,11 @@ int bch2_move_data(struct bch_fs *,
|
|||
bool,
|
||||
move_pred_fn, void *);
|
||||
|
||||
int bch2_move_data_phys(struct bch_fs *, unsigned, u64, u64, unsigned,
|
||||
struct bch_ratelimit *, struct bch_move_stats *,
|
||||
struct write_point_specifier, bool,
|
||||
move_pred_fn, void *);
|
||||
|
||||
int bch2_evacuate_bucket(struct moving_context *,
|
||||
struct move_bucket_in_flight *,
|
||||
struct bpos, int,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user