commit | 44bbe1093e9ed07e41edd061c4171896a900ad9f | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Oct 01 08:42:27 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:20 2015 -0800 |
tree | 0ad86ce78232e9c83c73e9e8753412509ee698fa | |
parent | 8602b0a1a63479a0a05b84614d92f60ed6e26ec3 [diff] |
engines/libaio: fix submit loop to use 'ld->queued' for exit We could have head == tail for a full ring, so use the amount queued as the gauge instead. This would be very hard to trigger, as it would require a full ring on entry and the first submit would have to fail to submit anything before we loop around. Signed-off-by: Jens Axboe <axboe@fb.com>