summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIgor Konopko <igor.j.konopko@intel.com>2019-05-04 21:37:50 +0300
committerJens Axboe <axboe@kernel.dk>2019-05-06 19:19:17 +0300
commitd378561b8ec7b46402de2b649cd44ee835d2e579 (patch)
treefc07fb11559b7bbac4d9585fd86bc8de231e6950 /tools/perf/scripts/python/export-to-postgresql.py
parent605bcef7f7d733aa732b6cc06201bd95a4288f72 (diff)
downloadlinux-d378561b8ec7b46402de2b649cd44ee835d2e579.tar.xz
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 <igor.j.konopko@intel.com> Reviewed-by: Javier González <javier@javigon.com> Reviewed-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions