summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMatias Bjørling <mb@lightnvm.io>2018-10-09 13:11:40 +0200
committerJens Axboe <axboe@kernel.dk>2018-10-09 08:25:06 -0600
commitae14cc044b5988148d819c377fd0cc1c7504bc3c (patch)
treec0326f1f3909822f47654181c33c67c215251963 /mm
parentd20be90ae0bb938ee0dfc8277d531191341d8e39 (diff)
downloadlinux-ae14cc044b5988148d819c377fd0cc1c7504bc3c.tar.bz2
lightnvm: pblk: refactor put line fn on read completion
The read completion path uses the put_line variable to decide whether the reference on a line should be released. The function name used for that is pblk_read_put_rqd_kref, which could lead one to believe that it is the rqd that is releasing the reference, while it is the line reference that is put. Rename and also split the function in two to account for either rqd or single ppa callers and move it to core, such that it later can be used in the write path as well. Signed-off-by: Matias Bjørling <mb@lightnvm.io> Reviewed-by: Javier González <javier@cnexlabs.com> Reviewed-by: Heiner Litz <hlitz@ucsc.edu> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions