summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-03 23:15:55 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-06 05:24:20 +0100
commit4798bd2443bb426b3065c0cc84bbe0458d4bf72c (patch)
tree30591d3444a6f12906da5724f6a84bef7adaad85 /fs/bcachefs/super.c
parentbcachefs: add time_stats for btree_node_read_done() (diff)
downloadlinux-4798bd2443bb426b3065c0cc84bbe0458d4bf72c.tar.xz
linux-4798bd2443bb426b3065c0cc84bbe0458d4bf72c.zip
bcachefs: increase max_active on io_complete_wq
this definitely should _not_ be 1, and we don't actually want any concurrency limiting at all here - btree node read completions are getting blocked behind btree node write submissions. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r--fs/bcachefs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index 64ff7da49860..84798059bc21 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -868,7 +868,7 @@ static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts)
!(c->copygc_wq = alloc_workqueue("bcachefs_copygc",
WQ_FREEZABLE|WQ_MEM_RECLAIM|WQ_CPU_INTENSIVE, 1)) ||
!(c->io_complete_wq = alloc_workqueue("bcachefs_io",
- WQ_FREEZABLE|WQ_HIGHPRI|WQ_MEM_RECLAIM, 1)) ||
+ WQ_FREEZABLE|WQ_HIGHPRI|WQ_MEM_RECLAIM, 512)) ||
!(c->write_ref_wq = alloc_workqueue("bcachefs_write_ref",
WQ_FREEZABLE, 0)) ||
#ifndef BCH_WRITE_REF_DEBUG