linux/drivers/lightnvm
Hans Holmberg b06be2873d lightnvm: pblk: only try to recover lines with written smeta
When switching between different lun configurations, there is no
guarantee that all lines that contain closed/open chunks have some
valid data to recover.

Check that the smeta chunk has been written to instead. Also
skip bad lines (that does not have enough good chunks).

Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-01 09:02:53 -06:00
..
core.c lightnvm: pass flag on graceful teardown to targets 2018-06-01 07:43:53 -06:00
Kconfig lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
pblk-cache.c lightnvm: pblk: export write amplification counters to sysfs 2018-03-29 17:29:09 -06:00
pblk-core.c lightnvm: proper error handling for pblk_bio_add_pages 2018-06-01 09:02:53 -06:00
pblk-gc.c lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00
pblk-init.c lightnvm: pblk: add possibility to set write buffer size manually 2018-06-01 09:02:53 -06:00
pblk-map.c lightnvm: pblk: fail gracefully on line alloc. failure 2018-06-01 07:43:53 -06:00
pblk-rb.c lightnvm: pblk: rework write error recovery path 2018-06-01 09:02:53 -06:00
pblk-read.c lightnvm: pblk: remove unnecessary bio_get/put 2018-06-01 09:02:53 -06:00
pblk-recovery.c lightnvm: pblk: only try to recover lines with written smeta 2018-06-01 09:02:53 -06:00
pblk-rl.c lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00
pblk-sysfs.c lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00
pblk-write.c lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00
pblk.h lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00