summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorEric Blake2016-06-01 23:10:05 +0200
committerKevin Wolf2016-06-08 10:21:08 +0200
commit94d047a35bf663e28f8fef137544d8ea78165add (patch)
treea46757f4426c8befac8905e801f5efd9652668e1 /qapi-schema.json
parentblock: Switch bdrv_write_zeroes() to byte interface (diff)
downloadqemu-94d047a35bf663e28f8fef137544d8ea78165add.tar.gz
qemu-94d047a35bf663e28f8fef137544d8ea78165add.tar.xz
qemu-94d047a35bf663e28f8fef137544d8ea78165add.zip
iscsi: Convert to bdrv_co_pwrite_zeroes()
Another step on our continuing quest to switch to byte-based interfaces. As this is the first byte-based iscsi interface, convert is_request_lun_aligned() into two versions, one for sectors and one for bytes. Also, change from outright -EINVAL failure on an unaligned request, to instead failing with -ENOTSUP to trigger a read-modify-write fallback, particularly since the block layer should be honoring bs->request_alignment to avoid -EINVAL on read/write requests. Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi-schema.json')
0 files changed, 0 insertions, 0 deletions