Skip to content
Commit dcaaeae0 authored by Max Reitz's avatar Max Reitz Committed by zhuyanting
Browse files

block/file-posix: Let post-EOF fallocate serialize



The XFS kernel driver has a bug that may cause data corruption for qcow2
images as of qemu commit c8bb23cb.  We can work around it by
treating post-EOF fallocates as serializing up until infinity (INT64_MAX
in practice).

Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Message-id: 20191101152510.11719-4-mreitz@redhat.com
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
(cherry picked from commit 292d06b9)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 0097ae5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment