Home
last modified time | relevance | path

Searched hist:"2 f0c6e7a" (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Dfile-posix.c2f0c6e7a Fri Apr 24 12:54:44 GMT 2020 Kevin Wolf <kwolf@redhat.com> file-posix: Support BDRV_REQ_ZERO_WRITE for truncate

For regular files, we always get BDRV_REQ_ZERO_WRITE behaviour from the
OS, so we can advertise the flag and just ignore it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200424125448.63318-7-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>