commit | 82595da8dedde128d8004ec47441aeb720c08704 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Dec 11 14:52:30 2014 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Dec 12 16:57:55 2014 +0000 |
tree | 7be4908dfc8a445a28a622ecd514f81ea31619bb | |
parent | de35464461cd8aa764ce03e8026202fe9861e29d [diff] |
linux-aio: simplify removal of completed iocbs from the list There is no need to do another O(n) pass on the list; the iocb to split the list at is already available through the array we passed to io_submit. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-id: 1418305950-30924-6-git-send-email-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>