summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/poll_state.c
diff options
context:
space:
mode:
authorHans Holmberg <hans.holmberg@cnexlabs.com>2018-06-01 16:41:05 +0200
committerJens Axboe <axboe@kernel.dk>2018-06-01 09:02:53 -0600
commit6a3abf5beef6ae46381c1fb6976e6f313c40f0c1 (patch)
tree0cb1da46fdb14e1a0de58d656331b0cc6c0c9082 /drivers/cpuidle/poll_state.c
parent72b6cdbb11135ec077bd3299fa2fad4503800d37 (diff)
downloadtalos-obmc-linux-6a3abf5beef6ae46381c1fb6976e6f313c40f0c1.tar.gz
talos-obmc-linux-6a3abf5beef6ae46381c1fb6976e6f313c40f0c1.zip
lightnvm: pblk: rework write error recovery path
The write error recovery path is incomplete, so rework the write error recovery handling to do resubmits directly from the write buffer. When a write error occurs, the remaining sectors in the chunk are mapped out and invalidated and the request inserted in a resubmit list. The writer thread checks if there are any requests to resubmit, scans and invalidates any lbas that have been overwritten by later writes and resubmits the failed entries. Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/cpuidle/poll_state.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud