diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-03-08 13:47:49 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-03-17 15:47:57 +0100 |
commit | 5bd51196676b07d3f9ddb3086057b0d82ae95f36 (patch) | |
tree | 389847d00f4d8d0c770c148ba485d7e35d10c7e8 /include | |
parent | a8823a3bfd8a8adfa11dea61b151175a02caa7d0 (diff) |
block: Pull up blk_read_unthrottled() implementation
Use blk_read(), so that it goes through blk_co_preadv() like all read
requests from the BB to the BDS.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/block/block.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/block/block.h b/include/block/block.h index ea8ed04403..01349efad5 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -229,8 +229,6 @@ void bdrv_reopen_commit(BDRVReopenState *reopen_state); void bdrv_reopen_abort(BDRVReopenState *reopen_state); int bdrv_read(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors); -int bdrv_read_unthrottled(BlockDriverState *bs, int64_t sector_num, - uint8_t *buf, int nb_sectors); int bdrv_write(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors); int bdrv_write_zeroes(BlockDriverState *bs, int64_t sector_num, |