lightnvm: pblk: fail gracefully on line alloc. failure
authorJavier González <javier@javigon.com>
Fri, 1 Jun 2018 13:04:15 +0000 (15:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 13:43:53 +0000 (07:43 -0600)
commit2deeefc02dfff6b554020eb62aecf98814641372
treedfbad7a5382c329d42d6da0cb85aeac9534973d5
parent84e92c131a0a2c7b28d1aa98c69350bc3577f34c
lightnvm: pblk: fail gracefully on line alloc. failure

In the event of a line failing to allocate, fail gracefully and stop the
pipeline to avoid more write failing in the same place.

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>
drivers/lightnvm/pblk-init.c
drivers/lightnvm/pblk-map.c