diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-04-29 16:21:51 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:00 -0400 |
commit | 958c347b4b16dd3883c3765f5f99cacfe1b862b5 (patch) | |
tree | aa1653d527a3fb2c531d502d8c44e329e417c36c /fs/bcachefs/movinggc.c | |
parent | 3140a3d0e990f5528707b676787faa7e29545f32 (diff) | |
download | linux-958c347b4b16dd3883c3765f5f99cacfe1b862b5.tar.gz linux-958c347b4b16dd3883c3765f5f99cacfe1b862b5.tar.bz2 linux-958c347b4b16dd3883c3765f5f99cacfe1b862b5.zip |
bcachefs: Mark bch2_copygc() noinline
This works around a "stack from too large" error.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/movinggc.c')
-rw-r--r-- | fs/bcachefs/movinggc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/movinggc.c b/fs/bcachefs/movinggc.c index 02081ee1a114..bd5d5221788a 100644 --- a/fs/bcachefs/movinggc.c +++ b/fs/bcachefs/movinggc.c @@ -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) |