summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/pblk-rb.c
diff options
context:
space:
mode:
authorHans Holmberg <hans.holmberg@cnexlabs.com>2018-06-01 17:41:12 +0300
committerJens Axboe <axboe@kernel.dk>2018-06-01 18:02:53 +0300
commitb06be2873d916e58c00ecfa664c22a75fa721260 (patch)
tree6a966747ebf3e2a747834718e7a9ba93780e14e2 /drivers/lightnvm/pblk-rb.c
parent87cc40bbe3371d0af1a2f31bf90665b55d3d1c0d (diff)
downloadlinux-b06be2873d916e58c00ecfa664c22a75fa721260.tar.xz
lightnvm: pblk: only try to recover lines with written smeta
When switching between different lun configurations, there is no guarantee that all lines that contain closed/open chunks have some valid data to recover. Check that the smeta chunk has been written to instead. Also skip bad lines (that does not have enough good chunks). Signed-off-by: Hans Holmberg <hans.holmberg@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-rb.c')
0 files changed, 0 insertions, 0 deletions