diff options
| author | Eric Blake | 2018-04-24 21:25:06 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-05-15 16:11:41 +0200 |
| commit | edfab6a08b0dc240ac3a665adf4dc40db9b9ec7f (patch) | |
| tree | ef436e0a0f7cb83063075a50e00ca0678a203fef /include | |
| parent | vxhs: Switch to byte-based callbacks (diff) | |
| download | qemu-edfab6a08b0dc240ac3a665adf4dc40db9b9ec7f.tar.gz qemu-edfab6a08b0dc240ac3a665adf4dc40db9b9ec7f.tar.xz qemu-edfab6a08b0dc240ac3a665adf4dc40db9b9ec7f.zip | |
block: Drop last of the sector-based aio callbacks
We are gradually moving away from sector-based interfaces, towards
byte-based. Now that all drivers with aio callbacks are using the
byte-based interfaces, we can remove the sector-based versions.
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/block/block_int.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index e772e3502b..0bba7ed024 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -141,15 +141,9 @@ struct BlockDriver { void (*bdrv_refresh_filename)(BlockDriverState *bs, QDict *options); /* aio */ - BlockAIOCB *(*bdrv_aio_readv)(BlockDriverState *bs, - int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, - BlockCompletionFunc *cb, void *opaque); BlockAIOCB *(*bdrv_aio_preadv)(BlockDriverState *bs, uint64_t offset, uint64_t bytes, QEMUIOVector *qiov, int flags, BlockCompletionFunc *cb, void *opaque); - BlockAIOCB *(*bdrv_aio_writev)(BlockDriverState *bs, - int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, - BlockCompletionFunc *cb, void *opaque); BlockAIOCB *(*bdrv_aio_pwritev)(BlockDriverState *bs, uint64_t offset, uint64_t bytes, QEMUIOVector *qiov, int flags, BlockCompletionFunc *cb, void *opaque); |
