summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-init.c
diff options
context:
space:
mode:
authorHans Holmberg <hans.holmberg@cnexlabs.com>2017-10-13 14:46:35 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 08:34:57 -0600
commit92957091e93931c91fccb7cce456312edeeea36c (patch)
tree0ff2cdcde708041278aeb8dc28144432f2304545 /drivers/lightnvm/pblk-init.c
parent3e3a5b8ebd5d3b1d68facc58b0674a2564653222 (diff)
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 <hans.holmberg@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-init.c')
0 files changed, 0 insertions, 0 deletions