summaryrefslogtreecommitdiffstats
path: root/block/commit.c
diff options
context:
space:
mode:
authorEric Blake2018-04-24 21:25:02 +0200
committerKevin Wolf2018-05-15 16:11:41 +0200
commitde7056a3f95e85aa6bba30ad4b37a8dbc2b072ab (patch)
treea91ce3423174c323116161dfbec81aa888b7dff8 /block/commit.c
parentblock: Support byte-based aio callbacks (diff)
downloadqemu-de7056a3f95e85aa6bba30ad4b37a8dbc2b072ab.tar.gz
qemu-de7056a3f95e85aa6bba30ad4b37a8dbc2b072ab.tar.xz
qemu-de7056a3f95e85aa6bba30ad4b37a8dbc2b072ab.zip
file-win32: Switch to byte-based callbacks
We are gradually moving away from sector-based interfaces, towards byte-based. Make the change for the last few sector-based callbacks in the file-win32 driver. Note that the driver was already using byte-based calls for performing actual I/O, so this just gets rid of a round trip of scaling; however, as I don't know if Windows is tolerant of non-sector AIO operations, I went with the conservative approach of modifying .bdrv_refresh_limits to override the block layer defaults back to the pre-patch value of 512. Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions