linux/drivers/lightnvm
Hans Holmberg aa8759d80a lightnvm: pblk: extend line wp balance check
pblk stripes writes of minimal write size across all non-offline chunks
in a line, which means that the maximum write pointer delta should not
exceed the minimal write size.

Extend the line write pointer balance check to cover this case, and
ignore the offline chunk wps.

This will render us a warning during recovery if something unexpected
has happened to the chunk write pointers (i.e. powerloss,  a spurious
chunk reset, ..).

Reported-by: Zhoujie Wu <zjwu@marvell.com>
Tested-by: Zhoujie Wu <zjwu@marvell.com>
Reviewed-by: Javier González <javier@javigon.com>
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>
2019-02-11 08:18:07 -07:00
..
core.c lightnvm: dynamic DMA pool entry size 2018-12-11 12:22:35 -07:00
Kconfig lightnvm: remove dependencies on BLK_DEV_NVME and PCI 2018-10-09 08:25:05 -06:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
pblk-cache.c lightnvm: pblk: add SPDX license tag 2018-10-09 08:25:08 -06:00
pblk-core.c lightnvm: pblk: Switch to use new generic UUID API 2019-02-11 08:18:07 -07:00
pblk-gc.c lightnvm: pblk: add SPDX license tag 2018-10-09 08:25:08 -06:00
pblk-init.c lightnvm: pblk: Switch to use new generic UUID API 2019-02-11 08:18:07 -07:00
pblk-map.c lightnvm: pblk: support packed metadata 2018-12-11 12:22:35 -07:00
pblk-rb.c lightnvm: pblk: support packed metadata 2018-12-11 12:22:35 -07:00
pblk-read.c lightnvm: pblk: support packed metadata 2018-12-11 12:22:35 -07:00
pblk-recovery.c lightnvm: pblk: extend line wp balance check 2019-02-11 08:18:07 -07:00
pblk-rl.c lightnvm: pblk: set conservative threshold for user writes 2018-12-11 12:22:33 -07:00
pblk-sysfs.c lightnvm: pblk: support packed metadata 2018-12-11 12:22:35 -07:00
pblk-trace.h lightnvm: pblk: fix TRACE_INCLUDE_PATH 2019-02-11 08:18:07 -07:00
pblk-write.c lightnvm: pblk: support packed metadata 2018-12-11 12:22:35 -07:00
pblk.h lightnvm: pblk: Switch to use new generic UUID API 2019-02-11 08:18:07 -07:00