diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-12-03 15:31:25 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 17:40:02 +0100 |
commit | 793ed47a7a2b09b67cb2a8863dff531436532b5c (patch) | |
tree | 3a5d1e5b7a0a0ef74e1b12af6f7c8eafe3d92579 /include/block | |
parent | 6601553e27091ffe240bea69227adce941fe12e8 (diff) |
block: Switch BdrvTrackedRequest to byte granularity
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/block_int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index 5f9cecd65a..bcdd98c503 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -57,8 +57,8 @@ typedef struct BdrvTrackedRequest { BlockDriverState *bs; - int64_t sector_num; - int nb_sectors; + int64_t offset; + unsigned int bytes; bool is_write; QLIST_ENTRY(BdrvTrackedRequest) list; Coroutine *co; /* owner, used for deadlock detection */ |