Searched refs:bch2_dev_in_target (Results 1 – 4 of 4) sorted by relevance
/linux/fs/bcachefs/ |
H A D | disk_groups.h | 81 bool bch2_dev_in_target(struct bch_fs *, unsigned, unsigned);
|
H A D | rebalance.c | 85 if (!ptr->cached && !bch2_dev_in_target(c, ptr->dev, opts->background_target)) in bch2_bkey_ptrs_need_move() 140 !bch2_dev_in_target(c, p.ptr.dev, opts->background_target)) in bch2_bkey_sectors_need_rebalance()
|
H A D | disk_groups.c | 197 bool bch2_dev_in_target(struct bch_fs *c, unsigned dev, unsigned target) in bch2_dev_in_target() function
|
H A D | extents.c | 1017 if (bch2_dev_in_target(c, ptr->dev, target) && in bch2_bkey_has_target() 1118 if (target && !bch2_dev_in_target(c, ptr->dev, target)) in want_cached_ptr()
|