aboutsummaryrefslogtreecommitdiff
path: root/scripts/acpi_extract_preprocess.py
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2014-09-26 09:14:11 +1000
committerKevin Wolf <kwolf@redhat.com>2014-10-20 13:41:26 +0200
commit38c4d0aea3e1264c86e282d99560330adf2b6e25 (patch)
treee5e04dcee260d4efe0b352e66f1d7f6ea6c0b83e /scripts/acpi_extract_preprocess.py
parentd8bb71b6227366c188595b91c24a58c9b06e46dd (diff)
downloadqemu-38c4d0aea3e1264c86e282d99560330adf2b6e25.zip
qemu-38c4d0aea3e1264c86e282d99560330adf2b6e25.tar.gz
qemu-38c4d0aea3e1264c86e282d99560330adf2b6e25.tar.bz2
block/raw-posix: Fix disk corruption in try_fiemap
Using fiemap without FIEMAP_FLAG_SYNC is a known corrupter. Add the FIEMAP_FLAG_SYNC flag to the FS_IOC_FIEMAP ioctl. This has the downside of significantly reducing performance. Reported-By: Michael Steffens <michael_steffens@posteo.de> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Cc: Kevin Wolf <kwolf@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Cc: Stefan Hajnoczi <stefanha@redhat.com> Cc: Max Reitz <mreitz@redhat.com> Cc: Pádraig Brady <pbrady@redhat.com> Cc: Eric Blake <eblake@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/acpi_extract_preprocess.py')
0 files changed, 0 insertions, 0 deletions