diff options
author | Igor Konopko <[email protected]> | 2019-05-04 20:38:01 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-05-06 10:19:18 -0600 |
commit | 2b0ae81e2a6f2114a68bdcc410bd1d72bacc97ad (patch) | |
tree | 627fc73fa7317b79443e549a6ddf5de9b6ebe2c2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 74a37fbb5c8deca5f19fe072ce2dec3a0900f81f (diff) |
lightnvm: pblk: fix update line wp in OOB recovery
In case of OOB recovery, we can hit the scenario when all the data in
line were written and some part of emeta was written too. In such
a case pblk_update_line_wp() function will call pblk_alloc_page()
function which will case to set left_msecs to value below zero
(since this field does not track emeta region) and thus will lead to
multiple kernel warnings. This patch fixes that issue.
Signed-off-by: Igor Konopko <[email protected]>
Reviewed-by: Javier González <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions