]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Don't block on allocations when only writing to specific device
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 12 Aug 2020 17:48:02 +0000 (13:48 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:43 +0000 (17:08 -0400)
commit1421bea38ace65f167a73ae3f544205766c1778c
treeb55be3ba5e03170a3ac902bcf1999cea4f8bcfcd
parent9f115ce9e9b57f0e55a37b657feac5663590b85e
bcachefs: Don't block on allocations when only writing to specific device

Since the copygc thread is now global and not per device, we're not
freeing up space on any one device in bounded time - and indeed we never
really were, since rebalance wasn't moving data around between devices
with that objective.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io.c