diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2020-12-04 01:27:10 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-12-11 17:52:40 +0100 |
commit | 9b100af30f175bffe1fc44c3577ba42e8c170864 (patch) | |
tree | 23f9ce082fe653085e5608a6f6cafe15d4d1fb7e /LICENSE | |
parent | 7cc25f6c9ba1622c0e2c1186bb47fca8de03672b (diff) | |
download | qemu-9b100af30f175bffe1fc44c3577ba42e8c170864.zip qemu-9b100af30f175bffe1fc44c3577ba42e8c170864.tar.gz qemu-9b100af30f175bffe1fc44c3577ba42e8c170864.tar.bz2 |
block/file-posix: fix workaround in raw_do_pwrite_zeroes()
We should not set overlap_bytes:
1. Don't worry: it is calculated by bdrv_mark_request_serialising() and
will be equal to or greater than bytes anyway.
2. If the request was already aligned up to some greater alignment,
than we may break things: we reduce overlap_bytes, and further
bdrv_mark_request_serialising() may not help, as it will not restore
old bigger alignment.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20201203222713.13507-2-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions