bcachefs: Make IO in flight by copygc/rebalance configurable
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 20 Jun 2022 03:03:07 +0000 (23:03 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:34 +0000 (17:09 -0400)
commit7bb61e8c0e37fdf5684bc1fa1f6e0b5644cc7f75
tree8db504a24a0e06bd18f192d2c2f9613d4b21a4bd
parentb5f73fd79f4c710024ef4385626aecbaee6fc3f1
bcachefs: Make IO in flight by copygc/rebalance configurable

This adds a new option, move_bytes_in_flight, for configuring the amount
of IO in flight by copygc/rebalance - users with many devices in their
filesystem will want to increase this.

In the future we should be smarter about this, but this is an easy
improvement.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/move.c
fs/bcachefs/opts.h