Revision 209bef3e
b/hw/xen_disk.c | ||
---|---|---|
408 | 408 |
break; |
409 | 409 |
case BLKIF_OP_WRITE: |
410 | 410 |
case BLKIF_OP_WRITE_BARRIER: |
411 |
ioreq->aio_inflight++; |
|
412 | 411 |
if (!ioreq->req.nr_segments) |
413 | 412 |
break; |
413 |
ioreq->aio_inflight++; |
|
414 | 414 |
bdrv_aio_writev(blkdev->bs, ioreq->start / BLOCK_SIZE, |
415 | 415 |
&ioreq->v, ioreq->v.size / BLOCK_SIZE, |
416 | 416 |
qemu_aio_complete, ioreq); |
Also available in: Unified diff