Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dalloc_background.c2407 u64 dev_reserve = 0; in bch2_recalc_capacity() local
2426 dev_reserve += ca->nr_btree_reserve * 2; in bch2_recalc_capacity()
2427 dev_reserve += ca->mi.nbuckets >> 6; /* copygc reserve */ in bch2_recalc_capacity()
2429 dev_reserve += 1; /* btree write point */ in bch2_recalc_capacity()
2430 dev_reserve += 1; /* copygc write point */ in bch2_recalc_capacity()
2431 dev_reserve += 1; /* rebalance write point */ in bch2_recalc_capacity()
2433 dev_reserve *= ca->mi.bucket_size; in bch2_recalc_capacity()
2438 reserved_sectors += dev_reserve * 2; in bch2_recalc_capacity()