qemu-e2k/block
Andrey Shinkevich 118f99442d block/io.c: fix for the allocation failure
On a file system used by the customer, fallocate() returns an error
if the block is not properly aligned. So, bdrv_co_pwrite_zeroes()
fails. We can handle that case the same way as it is done for the
unsupported cases, namely, call to bdrv_driver_pwritev() that writes
zeroes to an image for the unaligned chunk of the block.

Suggested-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1554474244-553661-1-git-send-email-andrey.shinkevich@virtuozzo.com
Message-Id: <1554474244-553661-1-git-send-email-andrey.shinkevich@virtuozzo.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2019-05-10 10:53:21 +01:00
..
Makefile.objs
accounting.c
backup.c block/backup: use buffer-based io 2019-04-30 15:29:00 +02:00
blkdebug.c
blklogwrites.c
blkreplay.c
blkverify.c
block-backend.c
bochs.c
cloop.c
commit.c commit: Use bdrv_append() in commit_start() 2019-05-07 17:14:21 +02:00
copy-on-read.c
create.c
crypto.c
crypto.h
curl.c
dirty-bitmap.c
dmg-bz2.c
dmg-lzfse.c
dmg.c
dmg.h
file-posix.c
file-win32.c
gluster.c
io.c block/io.c: fix for the allocation failure 2019-05-10 10:53:21 +01:00
iscsi-opts.c
iscsi.c
linux-aio.c
mirror.c
nbd-client.c
nbd-client.h
nbd.c
nfs.c
null.c
nvme.c
parallels.c block/parallels: use buffer-based io 2019-04-30 15:29:00 +02:00
parallels.h
qapi.c qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
qcow.c block/qcow: use buffer-based io 2019-04-30 15:29:00 +02:00
qcow2-bitmap.c qcow2: discard bitmap when removed 2019-05-07 17:14:21 +02:00
qcow2-cache.c
qcow2-cluster.c
qcow2-refcount.c qcow2-refcount: don't mask corruptions under internal errors 2019-05-07 17:14:21 +02:00
qcow2-snapshot.c
qcow2.c block/qcow2: use buffer-based io 2019-04-30 15:29:00 +02:00
qcow2.h
qed-check.c block/qed: add missed coroutine_fn markers 2019-04-30 15:29:00 +02:00
qed-cluster.c
qed-l2-cache.c
qed-table.c block/qed: add missed coroutine_fn markers 2019-04-30 15:29:00 +02:00
qed.c block/qed: add missed coroutine_fn markers 2019-04-30 15:29:00 +02:00
qed.h block/qed: add missed coroutine_fn markers 2019-04-30 15:29:00 +02:00
quorum.c
raw-format.c
rbd.c
replication.c
sheepdog.c
snapshot.c
ssh.c block/ssh: Implement .bdrv_dirname() 2019-05-07 17:14:21 +02:00
stream.c block/stream: use buffer-based io 2019-04-30 15:29:00 +02:00
throttle-groups.c
throttle.c
trace-events
vdi.c
vhdx-endian.c
vhdx-log.c block/vhdx: Use IEC binary prefixes for size constants 2019-04-30 15:29:00 +02:00
vhdx.c block/vhdx: Use IEC binary prefixes for size constants 2019-04-30 15:29:00 +02:00
vhdx.h block/vhdx: Use IEC binary prefixes for size constants 2019-04-30 15:29:00 +02:00
vmdk.c
vpc.c
vvfat.c
vxhs.c
win32-aio.c
write-threshold.c