mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
sheepdog: pass oid directly to send_pending_req()
Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Cc: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Liu Yuan <tailai.ly@taobao.com> Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
bd751f2204
commit
d6b1ef89a1
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ static void coroutine_fn aio_read_response(void *opaque)
|
||||||
* create requests are not allowed, so we search the
|
* create requests are not allowed, so we search the
|
||||||
* pending requests here.
|
* pending requests here.
|
||||||
*/
|
*/
|
||||||
send_pending_req(s, vid_to_data_oid(s->inode.vdi_id, idx));
|
send_pending_req(s, aio_req->oid);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case AIOCB_READ_UDATA:
|
case AIOCB_READ_UDATA:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue