bcachefs: Scale down number of writepoints when low on space

this means we don't have to reserve space for them when calculating
filesystem capacity

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2018-11-04 21:55:35 -05:00 • committed by Kent Overstreet
commit b092dadd55
9 changed files with 133 additions and 58 deletions