diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-05 19:28:03 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-10 15:34:09 -0400 |
commit | 82fdc1dc9831edee465ac4d07323003f8c2bcfa8 (patch) | |
tree | 251709cbcb40a29c3cf97602fa265ecf50666fb0 /fs/bcachefs/btree_update_interior.c | |
parent | 69c8e6ce022fd87abb9c8dbbdcfd312d6513b055 (diff) | |
download | linux-stable-82fdc1dc9831edee465ac4d07323003f8c2bcfa8.tar.gz linux-stable-82fdc1dc9831edee465ac4d07323003f8c2bcfa8.tar.bz2 linux-stable-82fdc1dc9831edee465ac4d07323003f8c2bcfa8.zip |
bcachefs: bump max_active on btree_interior_update_worker
WQ_UNBOUND with max_active 1 means ordered workqueue, but we don't
actually need or want ordered semantics - and probably want a higher
concurrency limit anyways.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.c')
-rw-r--r-- | fs/bcachefs/btree_update_interior.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update_interior.c b/fs/bcachefs/btree_update_interior.c index 7203ea8d5026..8b0291cfa872 100644 --- a/fs/bcachefs/btree_update_interior.c +++ b/fs/bcachefs/btree_update_interior.c @@ -2534,7 +2534,7 @@ void bch2_fs_btree_interior_update_init_early(struct bch_fs *c) int bch2_fs_btree_interior_update_init(struct bch_fs *c) { c->btree_interior_update_worker = - alloc_workqueue("btree_update", WQ_UNBOUND|WQ_MEM_RECLAIM, 1); + alloc_workqueue("btree_update", WQ_UNBOUND|WQ_MEM_RECLAIM, 8); if (!c->btree_interior_update_worker) return -BCH_ERR_ENOMEM_btree_interior_update_worker_init; |