diff options
author | Wenwei Tao <ww.tao0320@gmail.com> | 2016-01-12 06:49:15 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-01-12 15:21:15 (GMT) |
commit | 3cd485b1f8e25a6534eb4c542e7eba1b944fbaaf (patch) | |
tree | 57095214abdef867218f39434ed3ca72870d3263 /lib/find_bit.c | |
parent | 168309855a7d1e16db751e9c647119fe2d2dc878 (diff) | |
download | linux-3cd485b1f8e25a6534eb4c542e7eba1b944fbaaf.tar.xz |
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>
Diffstat (limited to 'lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions