diff options
author | Kai Krakow <kai@kaishome.de> | 2021-02-10 06:07:26 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-10 16:06:00 +0100 |
commit | d797bd9897e3559eb48d68368550d637d32e468c (patch) | |
tree | df5199bc36b52f447d6677b3cb3796c1a2c91d79 /drivers/md/dm-unstripe.c | |
parent | Revert "bcache: Kill btree_io_wq" (diff) | |
download | linux-d797bd9897e3559eb48d68368550d637d32e468c.tar.xz linux-d797bd9897e3559eb48d68368550d637d32e468c.zip |
bcache: Give btree_io_wq correct semantics again
Before killing `btree_io_wq`, the queue was allocated using
`create_singlethread_workqueue()` which has `WQ_MEM_RECLAIM`. After
killing it, it no longer had this property but `system_wq` is not
single threaded.
Let's combine both worlds and make it multi threaded but able to
reclaim memory.
Cc: Coly Li <colyli@suse.de>
Cc: stable@vger.kernel.org # 5.4+
Signed-off-by: Kai Krakow <kai@kaishome.de>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-unstripe.c')
0 files changed, 0 insertions, 0 deletions