]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: put blks when luns configure failed
authorWenwei Tao <ww.tao0320@gmail.com>
Sun, 6 Dec 2015 10:25:44 +0000 (11:25 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 7 Dec 2015 16:14:19 +0000 (09:14 -0700)
commit5986d798219cf6acfb71e947411c13be0f7ad264
treee3b272ed79232f4ffc8af6dff327a48f143ab70a
parent1377ea1d7380cb5bac23c87a7c6b77da868f3aa3
lightnvm: put blks when luns configure failed

Put the allocated blocks back to the free list
when the luns configure failed, to make these
blocks useable to others.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/rrpc.c