diff options
| author | Fam Zheng <famz@redhat.com> | 2018-07-10 14:31:20 +0800 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2018-07-10 16:01:52 +0200 |
| commit | 7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059 (patch) | |
| tree | 611c0b6972c8b24f6a45fd8e6762de92c27afbbd /scripts/qapi/doc.py | |
| parent | 85fe24796ddf70f2b6a5045952826aedffa55ca2 (diff) | |
| download | focaccia-qemu-7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059.tar.gz focaccia-qemu-7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059.zip | |
block: Fix handling of image enlarging write
Two problems exist when a write request that enlarges the image (i.e. write beyond EOF) finishes: 1) parent is not notified about size change; 2) dirty bitmap is not resized although we try to set the dirty bits; Fix them just like how bdrv_co_truncate works. Reported-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/doc.py')
0 files changed, 0 insertions, 0 deletions