diff options
author | Hans Holmberg <hans.holmberg@cnexlabs.com> | 2018-12-11 20:16:11 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-11 12:22:33 -0700 |
commit | ab3887be1e1a2594c9818a77b0f9dfabf0e4ab59 (patch) | |
tree | 9ead9b5156f503a277799f12fb15076a663df4a5 /lib/sg_pool.c | |
parent | c12fa401ac8c94a74aff68bb5736b3f1dc695fa8 (diff) |
lightnvm: pblk: account for write error sectors in emeta
Lines inflicted with write errors lines might be recovered
if they have not been recycled after write error garbage collection.
Ensure that the emeta accounting of valid lbas is correct
for such lines to avoid recovery inconsistencies.
Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Reviewed-by: Javier González <javier@javigon.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions