1
0
Fork 0

Remove has_work, it was unnecessary

hotfix-1.0.0
Vitaliy Filippov 2023-07-20 22:53:53 +03:00
parent 1c10430ae1
commit 0b2d12eef1
1 changed files with 1 additions and 4 deletions

View File

@ -240,10 +240,7 @@ static void vitastor_uring_handler(void *opaque)
VitastorClient *client = (VitastorClient*)opaque;
qemu_mutex_lock(&client->mutex);
client->bh_uring_scheduled = 0;
do
{
vitastor_c_uring_handle_events(client->proxy);
} while (vitastor_c_uring_has_work(client->proxy));
vitastor_c_uring_handle_events(client->proxy);
qemu_mutex_unlock(&client->mutex);
}