bcachefs: Mark bch2_copygc() noinline

This works around a "stack from too large" error.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2023-04-29 16:21:51 -04:00
parent 3140a3d0e9
commit 958c347b4b

View File

@ -205,6 +205,7 @@ static int bch2_copygc_get_buckets(struct btree_trans *trans,
return ret < 0 ? ret : 0;
}
noinline
static int bch2_copygc(struct btree_trans *trans,
struct moving_context *ctxt,
struct buckets_in_flight *buckets_in_flight)