Searched refs:data_opts (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | move.c | 41 struct data_update_opts *data_opts) in trace_move_extent2() argument 48 bch2_data_update_opts_to_text(&buf, c, io_opts, data_opts); in trace_move_extent2() 248 struct data_update_opts data_opts) in bch2_move_extent() argument 259 trace_move_extent2(c, k, &io_opts, &data_opts); in bch2_move_extent() 264 bch2_data_update_opts_normalize(k, &data_opts); in bch2_move_extent() 266 if (!data_opts.rewrite_ptrs && in bch2_move_extent() 267 !data_opts.extra_replicas) { in bch2_move_extent() 268 if (data_opts.kill_ptrs) in bch2_move_extent() 269 return bch2_extent_drop_ptrs(trans, iter, k, &io_opts, &data_opts); in bch2_move_extent() 314 io_opts, data_opts, iter->btree_id, k); in bch2_move_extent() [all …]
|
D | data_update.c | 127 if (((1U << i) & m->data_opts.rewrite_ptrs) && in trace_move_extent_fail2() 136 (m->data_opts.rewrite_ptrs & (1 << 0)) != 0, in trace_move_extent_fail2() 137 (m->data_opts.rewrite_ptrs & (1 << 1)) != 0, in trace_move_extent_fail2() 138 (m->data_opts.rewrite_ptrs & (1 << 2)) != 0, in trace_move_extent_fail2() 139 (m->data_opts.rewrite_ptrs & (1 << 3)) != 0); in trace_move_extent_fail2() 236 if (((1U << i) & m->data_opts.rewrite_ptrs) && in __bch2_data_update_index_update() 246 if (m->data_opts.rewrite_ptrs && in __bch2_data_update_index_update() 372 m->data_opts.btree_insert_flags); in __bch2_data_update_index_update() 527 struct data_update_opts *data_opts) in bch2_data_update_opts_to_text() argument 531 bch2_prt_u64_base2(out, data_opts->rewrite_ptrs); in bch2_data_update_opts_to_text() [all …]
|
D | rebalance.c | 137 struct data_update_opts *data_opts) in next_rebalance_extent() argument 157 memset(data_opts, 0, sizeof(*data_opts)); in next_rebalance_extent() 159 data_opts->rewrite_ptrs = in next_rebalance_extent() 161 data_opts->target = r->target; in next_rebalance_extent() 162 data_opts->write_flags |= BCH_WRITE_ONLY_SPECIFIED_DEVS; in next_rebalance_extent() 164 if (!data_opts->rewrite_ptrs) { in next_rebalance_extent() 203 struct data_update_opts data_opts; in do_rebalance_extent() local 215 extent_iter, &data_opts)); in do_rebalance_extent() 232 ret = bch2_move_extent(ctxt, NULL, extent_iter, k, io_opts, data_opts); in do_rebalance_extent() 254 struct data_update_opts *data_opts) in rebalance_pred() argument [all …]
|
D | data_update.h | 27 struct data_update_opts data_opts; member
|
D | movinggc.c | 213 struct data_update_opts data_opts = { in bch2_copygc() local 241 f->bucket.k.gen, data_opts); in bch2_copygc()
|