Files
qemu-ios/block
Kevin Wolf 16aaf975ee block: Don't ignore flags in blk_{,co,aio}_write_zeroes()
Commit 57d6a428 neglected to pass the given flags to blk_aio_prwv(),
which broke discard by WRITE SAME for scsi-disk (the UNMAP bit would be
ignored).

Commit fc1453cd introduced the same bug for blk_write_zeroes(). This is
used for 'qemu-img convert' without has_zero_init (e.g. on a block
device) and for preallocation=falloc in parallels.

Commit 8896e088 is the version for blk_co_write_zeroes(). This function
is only used in qemu-io.

Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2016-04-15 17:22:12 +02:00
..
2016-01-20 13:36:23 +01:00
2016-04-05 17:23:21 +02:00
2016-04-11 16:59:09 +01:00
2016-03-30 12:16:02 +02:00
2016-01-20 13:36:23 +01:00
2016-04-05 11:46:52 +02:00
2016-03-30 12:16:02 +02:00
2016-03-30 12:16:02 +02:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-03-30 12:16:02 +02:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-03-30 12:16:03 +02:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00