diff options
| author | Eric Blake | 2016-07-16 01:22:53 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2016-07-20 15:11:55 +0200 |
| commit | 60ebac16bca3e3bf07c7ae67a69a7730aaa48712 (patch) | |
| tree | 491c563bc5d94b764865533ab3b9e4db1e25035f /nbd | |
| parent | block: Switch BlockRequest to byte-based (diff) | |
| download | qemu-60ebac16bca3e3bf07c7ae67a69a7730aaa48712.tar.gz qemu-60ebac16bca3e3bf07c7ae67a69a7730aaa48712.tar.xz qemu-60ebac16bca3e3bf07c7ae67a69a7730aaa48712.zip | |
block: Convert bdrv_aio_discard() to byte-based
Another step towards byte-based interfaces everywhere. Replace
the sector-based bdrv_aio_discard() with a new byte-based
bdrv_aio_pdiscard(), which silently ignores any unaligned head
or tail. Driver callbacks will be converted in followup patches.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 1468624988-423-5-git-send-email-eblake@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions
