linux/drivers
Hans Holmberg 6a3abf5bee 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>
2018-06-01 09:02:53 -06:00
..
accessibility
acpi ACPI fixes for 4.17-rc3 2018-04-26 11:06:36 -07:00
amba ARM: amba: Fix race condition with driver_override 2018-04-26 10:35:04 +02:00
android ANDROID: binder: prevent transactions into own process. 2018-04-23 12:12:41 +02:00
ata libata: remove ata_scsi_timed_out 2018-05-29 08:47:40 -06:00
atm
auxdisplay
base Driver core fixes for 4.17-rc3 2018-04-27 10:12:20 -07:00
bcma
block pktcdvd: convert to bioset_init()/mempool_init() 2018-05-30 15:33:32 -06:00
bluetooth
bus HISI LPC: Add Kconfig MFD_CORE dependency 2018-04-26 16:53:23 +02:00
cdrom block: sanitize blk_get_request calling conventions 2018-05-14 08:55:12 -06:00
char virtio: fixups 2018-04-26 16:36:11 -07:00
clk First round of fixes for meson clocks targeted for v4.17 2018-05-01 14:44:16 -07:00
clocksource
connector
cpufreq cpufreq / CPPC: Set platform specific transition_delay_us 2018-04-30 10:14:08 +02:00
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga fpga-manager: altera-ps-spi: preserve nCONFIG state 2018-04-23 13:27:05 +02:00
fsi
gpio
gpu Merge branch 'vmwgfx-fixes-4.17' of git://people.freedesktop.org/~thomash/linux into drm-fixes 2018-05-04 10:03:27 +10:00
hid
hsi
hv
hwmon hwmon: (k10temp) Add support for AMD Ryzen w/ Vega graphics 2018-04-25 05:31:06 -07:00
hwspinlock
hwtracing
i2c i2c: sprd: Fix the i2c count issue 2018-04-27 14:12:43 +02:00
ide block: consistently use GFP_NOIO instead of __GFP_NORECLAIM 2018-05-14 08:55:18 -06:00
idle
iio
infiniband First pull request for 4.17-rc 2018-05-04 20:51:10 -10:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-05-02 17:34:42 -10:00
iommu iommu: rockchip: fix building without CONFIG_OF 2018-05-03 16:36:07 +02:00
ipack
irqchip irqchip/qcom: Fix check for spurious interrupts 2018-05-02 15:56:10 +02:00
isdn
leds
lightnvm lightnvm: pblk: rework write error recovery path 2018-06-01 09:02:53 -06:00
macintosh
mailbox
mcb
md dm: convert to bioset_init()/mempool_init() 2018-05-30 15:33:32 -06:00
media MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
memory
memstick memstick: remove unused variables 2018-05-14 08:31:06 -06:00
message block: rename BLK_EH_NOT_HANDLED to BLK_EH_DONE 2018-05-29 08:59:21 -06:00
mfd
misc
mmc mmc: complete requests from ->timeout 2018-05-29 08:59:21 -06:00
mtd mtd_blkdevs: handle highmem pages 2018-05-11 15:07:58 -06:00
mux
net qed: fix spelling mistake: "offloded" -> "offloaded" 2018-05-03 14:45:51 -04:00
nfc
ntb
nubus
nvdimm
nvme Merge branch 'nvme-4.18' of git://git.infradead.org/nvme into for-4.18/block 2018-06-01 07:39:48 -06:00
nvmem
of DeviceTree fixes for 4.17: 2018-05-07 05:33:29 -10:00
opp
oprofile
parisc parisc: Fix section mismatches 2018-05-02 21:47:35 +02:00
parport
pci pci-v4.17-fixes-1 2018-04-26 16:28:24 -07:00
pcmcia
perf
phy
pinctrl
platform platform/x86: Kconfig: Fix dell-laptop dependency chain. 2018-05-04 22:20:14 +02:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio rapidio: fix rio_dma_transfer error handling 2018-04-20 17:18:35 -07:00
ras
regulator
remoteproc remoteproc: qcom: Fix potential device node leaks 2018-04-25 16:46:55 -07:00
reset
rpmsg rpmsg: added MODULE_ALIAS for rpmsg_char 2018-04-25 16:46:55 -07:00
rtc rtc: opal: Fix OPAL RTC driver OPAL_BUSY loops 2018-04-25 13:24:13 +10:00
s390 block: rename BLK_EH_NOT_HANDLED to BLK_EH_DONE 2018-05-29 08:59:21 -06:00
sbus Remove jsflash driver 2018-05-15 13:56:16 -06:00
scsi block: remove parent device reference from struct bsg_class_device 2018-05-29 13:00:25 -06:00
sfi
sh
siox
slimbus slimbus: Fix out-of-bounds access in slim_slicesize() 2018-04-23 13:40:15 +02:00
sn
soc
soundwire
spi
spmi
ssb
staging media: imx-media-csi: Fix inconsistent IS_ERR and PTR_ERR 2018-05-04 06:21:06 -04:00
target target: convert to bioset_init()/mempool_init() 2018-05-30 15:33:32 -06:00
tc
tee
thermal
thunderbolt
tty tty: Use __GFP_NOFAIL for tty_ldisc_get() 2018-04-25 15:03:44 +02:00
uio uio_hv_generic: fix subchannel ring mmap 2018-04-23 12:43:48 +02:00
usb USB-serial fixes for v4.17-rc4 2018-05-04 14:38:32 -07:00
uwb
vfio
vhost
video
virt virt: vbox: Log an error when we fail to get the host version 2018-04-23 13:41:55 +02:00
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen: fixes and one header update for 4.17-rc2 2018-04-20 08:36:04 -07:00
zorro
Kconfig
Makefile