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:
parent
3140a3d0e9
commit
958c347b4b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user