]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite90ca4a15d81e24a6cf8172a03d98bd17ff2432e
treedfbad7a5382c329d42d6da0cb85aeac9534973d5
parent691a5c5127b05589c1010db1026ae697c6d3aaaa
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