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 /bt-host.c | |
parent | 85fe24796ddf70f2b6a5045952826aedffa55ca2 (diff) |
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 'bt-host.c')
0 files changed, 0 insertions, 0 deletions