diff options
author | Eric Blake <eblake@redhat.com> | 2016-07-15 17:23:01 -0600 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-07-20 14:24:25 +0100 |
commit | 97c7e85cfea4f4edc1536c50ca2f3c1627d8e443 (patch) | |
tree | 864bf8ba784cbd0b0afb76636014aec5da2ec38d /block/throttle-groups.c | |
parent | 1014170b825c4d9252fe531d13658f104447f31c (diff) | |
download | qemu-97c7e85cfea4f4edc1536c50ca2f3c1627d8e443.zip qemu-97c7e85cfea4f4edc1536c50ca2f3c1627d8e443.tar.gz qemu-97c7e85cfea4f4edc1536c50ca2f3c1627d8e443.tar.bz2 |
iscsi: Switch .bdrv_co_discard() to byte-based
Another step towards killing off sector-based block APIs.
Unlike write_zeroes, where we can be handed unaligned requests
and must fail gracefully with -ENOTSUP for a fallback, we are
guaranteed that discard requests are always aligned because the
block layer already ignored unaligned head/tail.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1468624988-423-13-git-send-email-eblake@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/throttle-groups.c')
0 files changed, 0 insertions, 0 deletions