summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-cache.c
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2017-10-13 14:46:15 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 08:34:57 -0600
commit2a19b10d423c6dc47449e905ed3a8eabb49c48a0 (patch)
tree7d1d992b89336729a50b63cbeb38b204493a7da9 /drivers/lightnvm/pblk-cache.c
parentd340121eb770de3b02bfc73c5f2b00f5345090c2 (diff)
downloadlinux-stable-2a19b10d423c6dc47449e905ed3a8eabb49c48a0.tar.gz
linux-stable-2a19b10d423c6dc47449e905ed3a8eabb49c48a0.tar.bz2
linux-stable-2a19b10d423c6dc47449e905ed3a8eabb49c48a0.zip
lightnvm: pblk: refactor read path on GC
Simplify the part of the garbage collector where data is read from the line being recycled and moved into an internal queue before being copied to the memory buffer. This allows to get rid of a dedicated function, which introduces an unnecessary dependency on the code. 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 'drivers/lightnvm/pblk-cache.c')
0 files changed, 0 insertions, 0 deletions