summaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorIgor Konopko <igor.j.konopko@intel.com>2019-05-04 20:37:50 +0200
committerJens Axboe <axboe@kernel.dk>2019-05-06 18:19:17 +0200
commitd378561b8ec7b46402de2b649cd44ee835d2e579 (patch)
treefc07fb11559b7bbac4d9585fd86bc8de231e6950 /mm/vmstat.c
parentlightnvm: pblk: remove unused smeta_ssec field (diff)
downloadlinux-d378561b8ec7b46402de2b649cd44ee835d2e579.tar.xz
linux-d378561b8ec7b46402de2b649cd44ee835d2e579.zip
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 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions