Commit 958c347b authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Mark bch2_copygc() noinline

This works around a "stack from too large" error.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 3140a3d0
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment