commit | 724c15a43e2c7ac26e2d07abef99191162498fa9 | [log] [tgz] |
---|---|---|
author | Vivek Goyal <vgoyal@redhat.com> | Wed Oct 30 11:07:19 2019 -0400 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Fri Nov 22 13:29:50 2019 +0100 |
tree | a542c172aa1b890341b2bfc99d853067c0db8887 | |
parent | 1efcf39eb627573f8d543ea396cf36b0651b1e56 [diff] |
virtiofs: Use completions while waiting for queue to be drained While we wait for queue to finish draining, use completions instead of usleep_range(). This is better way of waiting for event. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>