projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3140a3d
)
bcachefs: Mark bch2_copygc() noinline
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sat, 29 Apr 2023 20:21:51 +0000
(16:21 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:00 +0000
(17:10 -0400)
This works around a "stack from too large" error.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/movinggc.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/movinggc.c
b/fs/bcachefs/movinggc.c
index
02081ee
..
bd5d522
100644
(file)
--- 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)