Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Ddata_update.c127 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()
531 bch2_prt_u64_base2(out, data_opts->rewrite_ptrs); in bch2_data_update_opts_to_text()
664 if (BIT(i) & m->data_opts.rewrite_ptrs) { in bch2_data_update_init()
722 m->data_opts.kill_ptrs |= m->data_opts.rewrite_ptrs; in bch2_data_update_init()
[all …]
H A Drebalance.c159 data_opts->rewrite_ptrs = in next_rebalance_extent()
164 if (!data_opts->rewrite_ptrs) { in next_rebalance_extent()
268 data_opts->rewrite_ptrs = bch2_bkey_ptrs_need_rebalance(c, k, target, compression); in rebalance_pred()
271 return data_opts->rewrite_ptrs != 0; in rebalance_pred()
H A Ddata_update.h12 unsigned rewrite_ptrs; member
H A Dmove.c266 if (!data_opts.rewrite_ptrs && in bch2_move_extent()
739 data_opts.rewrite_ptrs = 0; in bch2_evacuate_bucket()
744 data_opts.rewrite_ptrs |= 1U << i; in bch2_evacuate_bucket()
930 data_opts->rewrite_ptrs = 0; in migrate_pred()
937 data_opts->rewrite_ptrs |= 1U << i; in migrate_pred()
941 return data_opts->rewrite_ptrs != 0; in migrate_pred()
H A Dextents.c1410 unsigned rewrite_ptrs = 0; in bch2_bkey_ptrs_need_rebalance() local
1421 rewrite_ptrs = 0; in bch2_bkey_ptrs_need_rebalance()
1426 rewrite_ptrs |= 1U << i; in bch2_bkey_ptrs_need_rebalance()
1436 rewrite_ptrs |= 1U << i; in bch2_bkey_ptrs_need_rebalance()
1441 return rewrite_ptrs; in bch2_bkey_ptrs_need_rebalance()
H A Dio_read.c237 update_opts.rewrite_ptrs |= BIT(i); in __promote_alloc()