commit | d09f9581b235a92abbe372531660b468fadabc17 | [log] [tgz] |
---|---|---|
author | Javier González <javier@javigon.com> | Mon Nov 16 15:34:47 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Mon Nov 16 15:20:41 2015 -0700 |
tree | 14cc6c36c0b48fd1db98ed0eab17f8e853c90ea9 | |
parent | dad1b00977f9dc8120b48f9711deb4aa6462a3a6 [diff] |
lightnvm: cleanup queue before target removal This prevents outstanding IOs to be sent for completion to target after the target has been removed. The flow is now: stop new IOs > cleanup queue > remove target. Signed-off-by: Javier Gonzalez <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>