[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] qcow2: Limit total allocation range to INT_MAX
From: |
Max Reitz |
Subject: |
[PATCH 0/2] qcow2: Limit total allocation range to INT_MAX |
Date: |
Thu, 10 Oct 2019 12:08:56 +0200 |
Hi,
While looking for why handle_alloc_space() seems to cause issues on
ppc64le+XFS (performance degradation and data corruption), I spotted
this other issue. It isn’t as bad, but still needs fixing.
See patch 1 for what is fixed and patch 2 for what breaks otherwise.
Max Reitz (2):
qcow2: Limit total allocation range to INT_MAX
iotests: Test large write request to qcow2 file
block/qcow2-cluster.c | 5 ++-
tests/qemu-iotests/268 | 83 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/268.out | 9 +++++
tests/qemu-iotests/group | 1 +
4 files changed, 97 insertions(+), 1 deletion(-)
create mode 100755 tests/qemu-iotests/268
create mode 100644 tests/qemu-iotests/268.out
--
2.21.0
- [PATCH 0/2] qcow2: Limit total allocation range to INT_MAX,
Max Reitz <=