aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-init.c
diff options
context:
space:
mode:
authorHans Holmberg <[email protected]>2017-10-13 12:46:35 +0000
committerJens Axboe <[email protected]>2017-10-13 14:34:57 +0000
commit92957091e93931c91fccb7cce456312edeeea36c (patch)
tree0ff2cdcde708041278aeb8dc28144432f2304545 /drivers/lightnvm/pblk-init.c
parentlightnvm: pblk: prevent gc kicks when gc is not operational (diff)
downloadkernel-92957091e93931c91fccb7cce456312edeeea36c.tar.gz
kernel-92957091e93931c91fccb7cce456312edeeea36c.zip
lightnvm: pblk: recover partially written lines correctly
When recovering partially written lines, the valid sector count must be decreased by the number of padded sectors in the line. Update line recovery to take all ADDR_EMPTY(padded) sectors into account. Signed-off-by: Hans Holmberg <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/lightnvm/pblk-init.c')
0 files changed, 0 insertions, 0 deletions