summaryrefslogtreecommitdiff
path: root/lib/find_bit.c
diff options
context:
space:
mode:
authorWenwei Tao <ww.tao0320@gmail.com>2016-01-12 06:49:15 (GMT)
committerJens Axboe <axboe@fb.com>2016-01-12 15:21:15 (GMT)
commit3cd485b1f8e25a6534eb4c542e7eba1b944fbaaf (patch)
tree57095214abdef867218f39434ed3ca72870d3263 /lib/find_bit.c
parent168309855a7d1e16db751e9c647119fe2d2dc878 (diff)
downloadlinux-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