Lines Matching refs:data_opts
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
268 data_opts->rewrite_ptrs = bch2_bkey_ptrs_need_rebalance(c, k, target, compression); in rebalance_pred()
269 data_opts->target = target; in rebalance_pred()
270 data_opts->write_flags |= BCH_WRITE_ONLY_SPECIFIED_DEVS; in rebalance_pred()
271 return data_opts->rewrite_ptrs != 0; in rebalance_pred()