Revision 820100fd block/qed.c
b/block/qed.c | ||
---|---|---|
748 | 748 |
/* If the read straddles the end of the backing file, shorten it */ |
749 | 749 |
size = MIN((uint64_t)backing_length - pos, qiov->size); |
750 | 750 |
|
751 |
BLKDBG_EVENT(s->bs->file, BLKDBG_READ_BACKING); |
|
751 |
BLKDBG_EVENT(s->bs->file, BLKDBG_READ_BACKING_AIO);
|
|
752 | 752 |
bdrv_aio_readv(s->bs->backing_hd, pos / BDRV_SECTOR_SIZE, |
753 | 753 |
qiov, size / BDRV_SECTOR_SIZE, cb, opaque); |
754 | 754 |
} |
Also available in: Unified diff