summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2017-10-13 14:46:07 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 08:34:57 -0600
commitb84ae4a8b883b96b95fff0e3979ff2c65bbf96b0 (patch)
tree6f53ea3c0f6d9afd67e3e86354197467a9e495da /fs/ext4
parentbd432417681a224d9fa4a9d43be7d4edc82135b2 (diff)
downloadblackbird-op-linux-b84ae4a8b883b96b95fff0e3979ff2c65bbf96b0.tar.gz
blackbird-op-linux-b84ae4a8b883b96b95fff0e3979ff2c65bbf96b0.zip
lightnvm: pblk: simplify work_queue mempool
In pblk, we have a mempool to allocate a generic structure that we pass along workqueues. This is heavily used in the GC path in order to have enough inflight reads and fully utilize the GC bandwidth. However, the current GC path copies data to the host memory and puts it back into the write buffer. This requires a vmalloc allocation for the data and a memory copy. Thus, guaranteeing the allocation by using a mempool for the structure in itself does not give us much. Until we implement support for vector copy to avoid moving data through the host, just allocate the workqueue structure using kmalloc. This allows us to have a much smaller mempool. Reported-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud