Home
last modified time | relevance | path

Searched refs:data_opts (Results 1 – 6 of 6) sorted by relevance

/linux/fs/bcachefs/
H A Dmove.c44 struct data_update_opts data_opts; member
55 struct data_update_opts *data_opts) in trace_io_move2() argument
61 bch2_data_update_opts_to_text(&buf, c, io_opts, data_opts); in trace_io_move2()
78 struct data_update_opts *data_opts, in trace_io_move_pred2() argument
93 bch2_data_update_opts_to_text(&buf, c, io_opts, data_opts); in trace_io_move_pred2()
136 if (!io->write.data_opts.scrub) { in move_free()
200 if (unlikely(rbio->ret || io->write.data_opts.scrub)) { in move_write()
339 struct data_update_opts data_opts) in bch2_move_extent() argument
346 trace_io_move2(c, k, &io_opts, &data_opts); in bch2_move_extent()
352 bch2_data_update_opts_normalize(k, &data_opts); in bch2_move_extent()
638 struct data_update_opts data_opts; bch2_move_data_btree() local
959 struct data_update_opts data_opts = {}; __bch2_move_data_phys() local
1052 evacuate_bucket_pred(struct bch_fs * c,void * _arg,enum btree_id btree,struct bkey_s_c k,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) evacuate_bucket_pred() argument
1073 bch2_evacuate_bucket(struct moving_context * ctxt,struct move_bucket * bucket_in_flight,struct bpos bucket,int gen,struct data_update_opts data_opts) bch2_evacuate_bucket() argument
1108 struct data_update_opts data_opts; bch2_move_btree() local
1172 rereplicate_pred(struct bch_fs * c,void * arg,enum btree_id btree,struct bkey_s_c k,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) rereplicate_pred() argument
1203 migrate_pred(struct bch_fs * c,void * arg,enum btree_id btree,struct bkey_s_c k,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) migrate_pred() argument
1226 rereplicate_btree_pred(struct bch_fs * c,void * arg,struct btree * b,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) rereplicate_btree_pred() argument
1248 rewrite_old_nodes_pred(struct bch_fs * c,void * arg,struct btree * b,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) rewrite_old_nodes_pred() argument
1286 drop_extra_replicas_pred(struct bch_fs * c,void * arg,enum btree_id btree,struct bkey_s_c k,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) drop_extra_replicas_pred() argument
1314 drop_extra_replicas_btree_pred(struct bch_fs * c,void * arg,struct btree * b,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) drop_extra_replicas_btree_pred() argument
1323 scrub_pred(struct bch_fs * c,void * _arg,enum btree_id btree,struct bkey_s_c k,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) scrub_pred() argument
[all...]
H A Ddata_update.c161 if ((ptr_bit & m->data_opts.rewrite_ptrs) && in trace_io_move_fail2()
173 bch2_data_update_opts_to_text(&buf, c, &m->op.opts, &m->data_opts); in trace_io_move_fail2()
220 bch2_data_update_opts_to_text(&buf, c, &m->op.opts, &m->data_opts); in trace_io_move_created_rebalance2()
337 if ((ptr_bit & m->data_opts.rewrite_ptrs) && in __bch2_data_update_index_update()
347 if (m->data_opts.rewrite_ptrs && in __bch2_data_update_index_update()
460 m->data_opts.btree_insert_flags); in __bch2_data_update_index_update()
623 struct data_update_opts *data_opts) in bch2_data_update_opts_to_text() argument
629 bch2_prt_u64_base2(out, data_opts->rewrite_ptrs); in bch2_data_update_opts_to_text()
633 bch2_prt_u64_base2(out, data_opts->kill_ptrs); in bch2_data_update_opts_to_text()
637 bch2_target_to_text(out, c, data_opts in bch2_data_update_opts_to_text()
691 bch2_extent_drop_ptrs(struct btree_trans * trans,struct btree_iter * iter,struct bkey_s_c k,struct bch_io_opts * io_opts,struct data_update_opts * data_opts) bch2_extent_drop_ptrs() argument
818 bch2_data_update_init(struct btree_trans * trans,struct btree_iter * iter,struct moving_context * ctxt,struct data_update * m,struct write_point_specifier wp,struct bch_io_opts * io_opts,struct data_update_opts data_opts,enum btree_id btree_id,struct bkey_s_c k) bch2_data_update_init() argument
[all...]
H A Drebalance.c339 struct data_update_opts *data_opts) in next_rebalance_extent() argument
356 memset(data_opts, 0, sizeof(*data_opts)); in next_rebalance_extent()
357 data_opts->rewrite_ptrs = bch2_bkey_ptrs_need_rebalance(c, io_opts, k); in next_rebalance_extent()
358 data_opts->target = io_opts->background_target; in next_rebalance_extent()
359 data_opts->write_flags |= BCH_WRITE_only_specified_devs; in next_rebalance_extent()
361 if (!data_opts->rewrite_ptrs) { in next_rebalance_extent()
416 struct data_update_opts data_opts; in do_rebalance_extent() local
428 extent_iter, &io_opts, &data_opts)); in do_rebalance_extent()
441 ret = bch2_move_extent(ctxt, NULL, extent_iter, k, io_opts, data_opts); in do_rebalance_extent()
[all...]
H A Ddata_update.h44 struct data_update_opts data_opts; member
H A Dmovinggc.c214 struct data_update_opts data_opts = { in bch2_copygc() local
234 ret = bch2_evacuate_bucket(ctxt, b, b->k.bucket, b->k.gen, data_opts); in bch2_copygc()
H A Dio_read.c122 u->data_opts.rewrite_ptrs & BIT(i)) in ptr_being_rewritten()