bcachefs: Switch replicas.c allocations to GFP_KERNEL
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 22 Jan 2021 00:14:37 +0000 (19:14 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:51 +0000 (17:08 -0400)
commite46b85573434b4e0c9f8eee4ac21d90643a97454
treed43c1fb50c92d789f86436ffff77193bf7c52ea8
parentb4725cc1a45fa859e6ff0966f5fa988d6402e5c8
bcachefs: Switch replicas.c allocations to GFP_KERNEL

We're transitioning to memalloc_nofs_save/restore instead of GFP flags
with the rest of the kernel, and GFP_NOIO was excessively strict and
causing unnnecessary allocation failures - these allocations are done
with btree locks dropped.

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