diff options
author | Igor Konopko <igor.j.konopko@intel.com> | 2019-05-04 20:37:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-06 18:19:17 +0200 |
commit | d378561b8ec7b46402de2b649cd44ee835d2e579 (patch) | |
tree | fc07fb11559b7bbac4d9585fd86bc8de231e6950 /mm/khugepaged.c | |
parent | lightnvm: pblk: remove unused smeta_ssec field (diff) | |
download | linux-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/khugepaged.c')
0 files changed, 0 insertions, 0 deletions