summaryrefslogtreecommitdiff
path: root/block/nbd-client.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-07-15 17:23:01 -0600
committerStefan Hajnoczi <stefanha@redhat.com>2016-07-20 14:24:25 +0100
commit97c7e85cfea4f4edc1536c50ca2f3c1627d8e443 (patch)
tree864bf8ba784cbd0b0afb76636014aec5da2ec38d /block/nbd-client.c
parent1014170b825c4d9252fe531d13658f104447f31c (diff)
downloadqemu-97c7e85cfea4f4edc1536c50ca2f3c1627d8e443.tar.gz
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/nbd-client.c')
0 files changed, 0 insertions, 0 deletions