bcachefs: Improve want_cached_ptr()
If promote target isn't set, rebalance should still leave a cached copy
on the faster device.
Fall back to foreground_target if it's set, or allow a cached copy on
any device if neither are set.
Signed-off-by:
Kent Overstreet <kent.overstreet@linux.dev>
Loading
Please sign in to comment