diff options
author | Igor Konopko <igor.j.konopko@intel.com> | 2019-05-04 21:37:47 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-06 19:19:16 +0300 |
commit | 8935ebfc5d462891e9dccec1f5cf438fb7bb96b4 (patch) | |
tree | 3e5934a73a51d264068fc8bda377651983a00d1c /drivers/lightnvm/pblk-core.c | |
parent | 7e5434eecefce78b40526e44de3d4559aaaf1b90 (diff) | |
download | linux-8935ebfc5d462891e9dccec1f5cf438fb7bb96b4.tar.xz |
lightnvm: pblk: rollback on error during gc read
A line is left unsigned to the blocks lists in case pblk_gc_line
returns an error.
This moves the line back to be appropriate list, which can then be
picked up by the garbage collector.
Signed-off-by: Igor Konopko <igor.j.konopko@intel.com>
Reviewed-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Reviewed-by: Javier González <javier@javigon.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-core.c')
0 files changed, 0 insertions, 0 deletions