Add test case for thread exiting with pending IO

A thread exiting should not have its IO canceled, that should only happen
when the parent exits. Test that we are able to issue IO from a thread,
with the parent reaping the completion when the thread exits.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2 files changed