diff options
author | Igor Konopko <[email protected]> | 2019-05-04 20:37:50 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-05-06 10:19:17 -0600 |
commit | d378561b8ec7b46402de2b649cd44ee835d2e579 (patch) | |
tree | fc07fb11559b7bbac4d9585fd86bc8de231e6950 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 605bcef7f7d733aa732b6cc06201bd95a4288f72 (diff) |
lightnvm: pblk: gracefully handle GC vmalloc fail
Currently when we fail on rq data allocation in gc, it skips moving
active data and moves line straigt to its free state. Losing user
data in the process.
Move the data allocation to an earlier phase of GC, where we can still
fail gracefully by moving line back to the closed state.
Signed-off-by: Igor Konopko <[email protected]>
Reviewed-by: Javier González <[email protected]>
Reviewed-by: Hans Holmberg <[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