diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-05-22 17:37:25 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:04 -0400 |
commit | 731bdd2eff41808ded960fbe62a83672904e1600 (patch) | |
tree | f45dc3efc827f42ada2aa6a6b56ad350b9d7e673 /fs/bcachefs/io.h | |
parent | 2eba51a69a7aba82bd4639a71b0906be7e23ca5c (diff) | |
download | lwn-731bdd2eff41808ded960fbe62a83672904e1600.tar.gz lwn-731bdd2eff41808ded960fbe62a83672904e1600.zip |
bcachefs: Add a workqueue for btree io completions
Also, clean up workqueue usage - we shouldn't be using system
workqueues, pretty much everything we do needs to be on our own
WQ_MEM_RECLAIM workqueues.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/io.h')
-rw-r--r-- | fs/bcachefs/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/io.h b/fs/bcachefs/io.h index d1fd37ef2fc0..5d692a2228a6 100644 --- a/fs/bcachefs/io.h +++ b/fs/bcachefs/io.h @@ -62,7 +62,7 @@ static inline struct workqueue_struct *index_update_wq(struct bch_write_op *op) { return op->alloc_reserve == RESERVE_MOVINGGC ? op->c->copygc_wq - : op->c->wq; + : op->c->btree_update_wq; } int bch2_sum_sector_overwrites(struct btree_trans *, struct btree_iter *, |