backend: end IO loop early, if the job is marked as terminated
authorJens Axboe <axboe@fb.com>
Mon, 24 Oct 2016 16:51:04 +0000 (10:51 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 24 Oct 2016 16:51:04 +0000 (10:51 -0600)
commit49f0b8e0ce28deaa99379ef056cc5972a0b8694a
treea460a6627c443a809091fd6fbb275ffa04e7affa
parent8ecf6df14aee49d524fdb27bf53c2655a29c1fb1
backend: end IO loop early, if the job is marked as terminated

If we terminate a job, we don't want that job to attempt to grab
resources that might already have been freed.

Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c