1
0
Fork 0
remarkable-linux/drivers/lightnvm
Javier González 4f5fd8a1ae lightnvm: pblk: warn in case of corrupted write buffer
[ Upstream commit e37d07983a ]

When cleaning up buffer entries as we wrap up, their state should be
"completed". If any of the entries is in "submitted" state, it means
that something bad has happened. Trigger a warning immediately instead of
waiting for the state flag to eventually be updated, thus hiding the
issue.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-03 07:50:25 +02:00
..
Kconfig lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
core.c lightnvm: if LUNs are already allocated fix return 2017-06-27 08:22:09 -06:00
pblk-cache.c lightnvm: pblk: fail gracefully on irrec. error 2017-06-26 16:27:39 -06:00
pblk-core.c lightnvm: pblk: protect line bitmap while submitting meta io 2017-12-20 10:10:38 +01:00
pblk-gc.c lightnvm: pblk: prevent gc kicks when gc is not operational 2017-12-20 10:10:37 +01:00
pblk-init.c lightnvm: pblk: fix min size for page mempool 2017-12-20 10:10:37 +01:00
pblk-map.c lightnvm: pblk: fix bad le64 assignations 2017-06-30 11:08:18 -06:00
pblk-rb.c lightnvm: pblk: warn in case of corrupted write buffer 2018-08-03 07:50:25 +02:00
pblk-read.c lightnvm: pblk: fix min size for page mempool 2017-12-20 10:10:37 +01:00
pblk-recovery.c lightnvm: pblk: control I/O flow also on tear down 2017-07-07 13:17:34 -06:00
pblk-rl.c lightnvm: pblk: fail gracefully on irrec. error 2017-06-26 16:27:39 -06:00
pblk-sysfs.c lightnvm: pblk: remove unused return variable 2017-06-30 11:08:18 -06:00
pblk-write.c lightnvm: pblk: remove unnecessary checks 2017-07-07 13:17:36 -06:00
pblk.h lightnvm: pblk: fix min size for page mempool 2017-12-20 10:10:37 +01:00
rrpc.c blk: remove bio_set arg from blk_queue_split() 2017-06-18 12:40:59 -06:00
rrpc.h lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00