summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-gc.c
diff options
context:
space:
mode:
authorHans Holmberg <hans.holmberg@cnexlabs.com>2018-03-30 00:05:22 +0200
committerJens Axboe <axboe@kernel.dk>2018-03-29 17:29:09 -0600
commit9156f360a77f9b975645a66af5ae8f7f68eccded (patch)
tree2bacde962208a79c9bcea61c49484749ffedd130 /drivers/lightnvm/pblk-gc.c
parent3b2a3ad11946b62a17dd6c24fba6aecf7fdbfc44 (diff)
lightnvm: pblk: don't recover unwritten lines
If the line has not been written to, we should not try to recover any data from it, so check the state of the chunks in the line before attempting to read smeta. Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-gc.c')
0 files changed, 0 insertions, 0 deletions