commit | ecfb40c6aa5691257054eac81bc8bdfd5442e8e5 | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Fri May 06 20:02:55 2016 +0200 |
committer | Jens Axboe <axboe@fb.com> | Fri May 06 12:51:10 2016 -0600 |
tree | a3746289014c46fbb787bd2c397a68cbe651ca45 | |
parent | 57aac2f1be4a0711b7f24f7d367e8672ebaa3844 [diff] |
lightnvm: handle submit_io failure The device ->submit_io() callback might fail to submit I/O to device. In that case, the nvm_submit_ppa function should not wait for completion. Instead return the ->submit_io() error. Reviewed by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>