commit | 3cd485b1f8e25a6534eb4c542e7eba1b944fbaaf | [log] [tgz] |
---|---|---|
author | Wenwei Tao <ww.tao0320@gmail.com> | Tue Jan 12 07:49:15 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Jan 12 08:21:15 2016 -0700 |
tree | 57095214abdef867218f39434ed3ca72870d3263 | |
parent | 168309855a7d1e16db751e9c647119fe2d2dc878 [diff] |
lightnvm: fix bio submission issue Put bio when submission fails, since we get it before submission. And return error when backend device driver doesn't provide a submit_io method, thus we can end IO properly. 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>